nonsmall 发表于 2008-11-27 11:07:00

[求助]如何创建带参数的快捷方式?

本帖最后由 作者 于 2008-11-27 11:27:39 编辑 <br /><br /> <p>Set WshShell = CreateObject("WScript.Shell")<br/>desk_path = WshShell.SpecialFolders ("Desktop")<br/>set acadLink = WshShell.CreateShortcut(desk_path &amp; "\Acad2006_CSWP.lnk")<br/>with acadLink<br/>&nbsp; .TargetPath = chr(34) &amp; "C:\Program Files\AutoCAD 2006" &amp; "\acad.exe" &amp; chr(34) &amp; chr(32) &amp; chr(47) &amp; "p" &amp; chr(32)<br/>&nbsp; .WindowStyle = 3<br/>&nbsp; .IconLocation = "C:\Program Files\AutoCAD 2006" &amp; "\acad.exe, 0"<br/>&nbsp; .Description = "Acad2006 CSWP"<br/>&nbsp; .WorkingDirectory = AcadLocation &amp; "\UserDataCache\"<br/>end with<br/>acadLink.save</p><p></p><p>---------------------------------------------------------------------</p><p>快捷方式里面的参数需要 /&nbsp;P</p><p>但是创建出来的却是 \P</p><p>请问如何能创建参数的 /P</p>
页: [1]
查看完整版本: [求助]如何创建带参数的快捷方式?