我需要的快捷方式目標的路徑從 「google.com」 到 「yahoo.com」 使用下面的VBScript改變:當我從CMD修改快捷方式目標路徑?
cscript file.vbs
我運行此
Set sh = CreateObject("WScript.Shell")
Set shortcut = sh.CreateShortcut("C:\Wherever\Shortcut.lnk")
shortcut.TargetPath = "C:\Program Files(x86)\Internet Explorer\iexplore.exe" http://www.google.com"
shortcut.Save
出現以下錯誤:
excepted end of statement
我需要添加<script language=script>
或其他什麼?
什麼類型的錯誤? – manRo
你的腳本對我來說非常棒,即使是所有奇怪的間距。請發佈您收到的錯誤。 –