'用CreateObject的方法开启WshShell
Set WshShell=CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("strDesktop&“/游戏快捷方式") '取得“桌面”的路径
Set oShellLink=WshShell.CreateShortcut(创建快捷方式.lnk)
oShellLink.TargetPath = "E:\PAL4\PAL4.EXE"
oShellLink.WorkingDirectory=strDesKtop
'保存快捷方式
oShellLink.Save
看看是不是在桌面
确认路径啊
你的编辑是可行的。还是因为安装了64位系统的问题。