How to right-click to add batches that open MS-DOS
This article mainly introduces how to right-click add open MS-DOS batch processing, the article is very detailed, has a certain reference value, interested friends must read it!
The code is as follows:
@ echo off reg add "HKCR\ *\ shell\ ms-dos" / ve / d ms-dos / f reg add "HKCR\ *\ shell\ ms-dos\ command" / ve / d "cmd.exe / k cd% 1" / f reg add "HKCR\ Folder\ shell\ ms-dos" / ve / d ms-dos / f reg add "HKCR\ Folder\ shell\ ms-dos\ command" / ve / d "cmd.exe / k cd% 1" / f
Save the above code as dd.bat and double-click to run it.
The above is all the contents of the article "how to right add batches that open MS-DOS". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!