用CMD 创建- echo [InternetShortcut] >>快捷方式路径.url
- echo URL=程序路经>>快捷方式路径.url
- echo IconIndex=0 >>快捷方式路径.url
- echo IconFile=程序路经>>快捷方式路径.url
- 用VBS创建快捷方式到桌面,根据自己的情况自己修改下就能用了。
- set WshShell = WScript.CreateObject("WScript.Shell")
- strDesktop = WshShell.SpecialFolders("desktop")
- set ShellLink = WshShell.CreateShortcut(strDesktop & "\Pegasus660.lnk")
- ShellLink.TargetPath = "D:\Pegasus660\Bin\peg32.exe"
- ShellLink.WindowStyle = 1
- ShellLink.Hotkey = "CTRL+SHIFT+C"
- ShellLink.IconLocation = "D:\Pegasus660\Bin\pegasus.exe, 0"
- ShellLink.Description = "The new version of Pegasus660"
- ShellLink.WorkingDirectory = "D:\Pegasus660\Bin"
- ShellLink.Save
- sub bat
- start wscript -e:vbs "%~f0"
- End Sub
复制代码
|