BAT 批处理创建快捷图标 利用BAT 批处理快捷新建一个网站链接,用以下代码即可实现 把下面的代码保存为“.bat”格式即可: @echo set IconLocationPath="%ProgramFiles%\Internet Explorer\IEXPLORE.EXE" '快捷方式的图标样式设置' echo Dim WshShell,Shortcut>>tmp.vbs echo Dim path,fso>>tmp.vbs echo path="http://www.2345.com/?kdhw123">>tmp.vbs '被创建快捷图标的程序位置' echo Set fso=CreateObject("Scripting.FileSystemObject")>>tmp.vbs echo Set WshShell=WScript.CreateObject("WScript.Shell")>>tmp.vbs echo Set Shortcut=WshShell.CreateShortCut("%userprofile%\桌面\网址大全.lnk")>>tmp.vbs '快捷图标的存放位置' echo Shortcut.IconLocation=%IconLocationPath%>>tmp.vbs echo Shortcut.TargetPath=path>>tmp.vbs echo Shortcut.Save>>tmp.vbs tmp.vbs del tmp.vbs /s /q del %0 exit 本文来源:https://www.wddqw.com/doc/78a718ce6137ee06eff918b5.html