Get the App
SLTechnology News&Howtos  ›  Development  › 

How to add the enter DOS command to the folder right-click menu

Shulou Source: shulou.com Published: 2022-06-03 07:03:49 11月15日 Update

This article mainly shows you "how to right-click the folder menu to add into the DOS command", the content is easy to understand, well-organized, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to add the DOS command into the right-click menu in the folder" this article.

So add a shortcut to "enter DOS" in the folder right-click menu.

Click and go directly to the folder directory under DOS.

Method of operation:

Option A:

1. Open the registry (regedit)

two。 Find the following path HKEY_CLASSES_ROOT\ Folder\ shell

3. New item: CmdPrompt and set the default value: "enter DOS" (without quotation marks, the text displayed on the right-click menu can be changed at will)

4. Create a new item Command under CmdPrompt and set the default value: "cmd.exe / k cd l" (without quotation marks, the last l is L, not 1)

Option B:

Open notepad and copy and paste the following code:

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\ Directory\ shell\ CmdPrompt] @ = "enter the DOS command line" [HKEY_CLASSES_ROOT\ Directory\ shell\ CmdPrompt\ Command] @ = "cmd.exe / k cd% l"

Save as "dos.reg", then double-click the file and agree to import it into the registry.

The above is all the contents of the article "how to add DOS commands to the folder right menu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Files folders menus commands content articles quotes schemes registry face learning help code text methods easy to understand more organization directory knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Redmi Linux Shulou Tech Info Shulou Information