'*********************************************
'*by r05e
'*cmdhere安裝,使你在任何目錄下直接進(jìn)入改目錄的CMD狀態(tài)
'*********************************************
Set WshShell=CreateObject("Wscript.Shell")
WshShell.RegWrite "HKEY_LOCAL_MACHINE\Software\CLASSES\Folder\shell\cmd here\",""
WshShell.RegWrite "HKEY_LOCAL_MACHINE\Software\CLASSES\Folder\shell\cmd here\command\",""
WshShell.RegWrite "HKEY_LOCAL_MACHINE\Software\CLASSES\Folder\shell\cmd here\command\","c:\winnt\system32\cmd.exe /K CD %1","REG_SZ"
wscript.echo "操作成功"
set WshShell=nothing
到此這篇關(guān)于vbs實(shí)現(xiàn)右鍵菜單中添加CMD HERE的文章就介紹到這了,更多相關(guān)vbs CMD HERE內(nèi)容請(qǐng)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!