Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\Directory\Background\shell\runasadmin]

@="命令提示符(管理员)"

"ico"="C:\\Windows\\System32\\shell32.dll,24"


[HKEY_CLASSES_ROOT\Directory\Background\shell\runasadmin\command]

@="cmd.exe /s /k pushd \"%V\""

将上面的代码复制到记事本中,保存为 添加右键CMD.reg,然后双击运行一次就可以了。

发表评论