Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\AdminCmd]
@="CMD"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\AdminCmd\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\AdminCmd]
@="CMD"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\AdminCmd\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Drive\shell\AdminCmd]
@="CMD"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Drive\shell\AdminCmd\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\AdminCmd]
@="CMD"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\AdminCmd\command]
@="cmd.exe /s /k pushd \"%V\""
新建txt文件,将以上内容粘贴保存,重命名文件为cmd.reg文件。双击运行。
|