Get the App
SLTechnology News&Howtos  ›  Development  › 

How to right-click to add batches that open MS-DOS

Shulou Source: shulou.com Published: 2022-06-03 08:18:03 10月01日 Update

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!

Tags: Code content article value interest guy partner more knowledge industry information information channel face channel reference help run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Docker Redmi Apple Huawei