vbs实现右键菜单中添加CMD HERE
vbs实现右键菜单中添加CMD HERE
发布时间:2016-12-28 来源:查字典编辑
摘要:右键菜单中添加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学习
热门vbs学习
脚本专栏子分类