vbs实现右键菜单中添加CMD HERE
摘要:右键菜单中添加CMDHERE复制代码代码如下:SetWshShell=CreateObject("Wscript.Shell")WshShe...
右键菜单中添加CMDHERE
复制代码 代码如下:
SetWshShell=CreateObject("Wscript.Shell")
WshShell.RegWrite"HKEY_LOCAL_MACHINESoftwareCLASSESFoldershellcmdhere",""
WshShell.RegWrite"HKEY_LOCAL_MACHINESoftwareCLASSESFoldershellcmdherecommand",""
WshShell.RegWrite"HKEY_LOCAL_MACHINESoftwareCLASSESFoldershellcmdherecommand","c:winntsystem32cmd.exe/KCD%1","REG_SZ"
wscript.echo"操作成功"
setWshShell=nothing
【vbs实现右键菜单中添加CMD HERE】相关文章: