以下为引用的内容: Set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop") : set oShellLink = WshShell.CreateShortcut(strDesktop & "\Internet Explorer.lnk") oShellLink.TargetPath = "C:\Program Files\Internet Explorer\iexplore.exe" : '目标 oShellLink.Arguments = "http://www.baidu.com" :'程序的参数 oShellLink.WindowStyle = 1 :'参数1默认窗口激活,参数3最大化激活,参数7最小化 oShellLink.Hotkey = "" : '快捷键 oShellLink.IconLocation = "C:\Program Files\Internet Explorer\iexplore.exe, 0" : '图标 oShellLink.Description = "" : '备注 oShellLink.WorkingDirectory = "C:\Program Files\Internet Explorer\" : '起始位置 oShellLink.Save : '创建保存快捷方式 |
欢迎访问最专业的网吧论坛,无盘论坛,网吧经营,网咖管理,网吧专业论坛
https://bbs.txwb.com
关注天下网吧微信/下载天下网吧APP/天下网吧小程序,一起来超精彩
|