DOS here-Add a DOS shortcut in the right-click menu

Source: Internet
Author: User

Method 1:
1. In resource manager, choose tools> Options> file type
2. List Selection: folder
3. Advanced --> New
4. Operation: Enter the display name, for example, DoS
Application executing the operation: cmd.exe/k cd/d % L
OK
  

Note: Do not set it as the default value so that it will be opened by default using cmd.
Problem: if the operation fails, the deletion method cannot be found:
Open the registry and delete \ hkey_classes_root \ directory \ shell \ to enter DoS (enter dos, maybe your own name ).

 

Method 2:
  

Note: If you are not familiar with the Registry, back up the Registry first.
1. Open the Registry (Regedit)
2. Find the following path: hkey_classes_root \ Folder \ shell
3. New item: Export prompt and set the default value: "Enter dos" (here is the text on the menu)
4. Create a new command under cmdprompt and set the default value: cmd.exe/K cd % L

Close the registry and right-click the folder to view it.

 

 

Method 3:
  

Open notepad and copy and paste the following code:

 

Windows Registry Editor Version 5.00

[Hkey_classes_root \ directory \ shell \ cmd]
@ = "Enter dos"
[Hkey_classes_root \ directory \ shell \ cmd \ command]
@ = "Cmd.exe/k \" cd % L \""
[Hkey_classes_root \ drive \ shell \ cmd]
@ = "Enter dos"
[Hkey_classes_root \ drive \ shell \ cmd \ command]
@ = "Cmd.exe/k \" cd % L \""

  

After that, save it as "Dos. Reg", double-click the file, and agree to import it to the Registry.

Use: Right-click the directory you want to open, such as c: \ windows, and select "Enter dos ".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.