自上次 Windows 更新(2013/11/12)以来,此功能在 Windows 7 64 位上不再起作用:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd]
@="Open cmd here"
"icon"=hex(2):25,00,43,00,6f,00,6d,00,53,00,70,00,65,00,63,00,25,00,2c,00,30,\
00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd\command]
@=hex(2):25,00,43,00,6f,00,6d,00,53,00,70,00,65,00,63,00,25,00,20,00,20,00,2f,\
00,6b,00,20,00,70,00,75,00,73,00,68,00,64,00,20,00,22,00,25,00,31,00,22,00,\
00,00
知道为什么吗?
两个 REG_EXPAND_SZ 是:
%ComSpec%,0
和
%ComSpec% /k pushd "%1"
图标不再显示,“在此处打开 cmd”文本在右键菜单中被“cmd”取代,单击时,Windows 会抱怨没有程序与此任务关联。