代码如下(运行可以):- set WshShell=Wscript.CreateObject("Wscript.Shell")
- set oShellLink=WshShell.CreateShortcut("C:\56.lnk")
- oShellLink.Hotkey="Ctrl+Alt+8"
- oShellLink.Save
复制代码 代码如下(想用Ctrl+Alt+一个等号来做快捷键,但运行不可以):- set WshShell=Wscript.CreateObject("Wscript.Shell")
- set oShellLink=WshShell.CreateShortcut("C:\56.lnk")
- oShellLink.Hotkey="Ctrl+Alt+="
- oShellLink.Save
复制代码
|