编程时,难免要用到的,此处备份一下。将下面的代码保存为*.reg文件,双击安装即可:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open_DOS_Box]
@="[DOS Here]"
[HKEY_CLASSES_ROOT\*\shell\Open_DOS_Box\command]
@="cmd.exe /k \"cd .\""
[HKEY_CLASSES_ROOT\Folder\shell\Open_DOS_Box]
@="<DOS Here>"
[HKEY_CLASSES_ROOT\Folder\shell\Open_DOS_Box\command]
@="cmd.exe /k \"cd %L\""