Board logo

主題: [求助] bat2vbs [打印本頁]

發表人: vernc    時間: 2007-12-28 12:24 AM     主題: bat2vbs

想把個bat改成vbs檔,只有一行

最後的/u /e怎加入才正確?
我加入後vbs會當成"d:\f4.tpp /u /e"

另請問run怎設「開始位置(路徑)」?
could start xxx.exe! Make sure the loader in the same dir
thx

bat
"C:\Program Files\Teleport Pro\pro.exe" "d:\f4.tpp" /u /e

vbs
Dim Act, ProF
    Set Act = CreateObject("Wscript.Shell")
    ProF = Act.ExpandEnvironmentStrings("%ProgramFiles%")
     Act.Run(Chr(34) & ProF & "\Teleport Pro\pro.exe ""d:\f4.tpu"" /u /e"& Chr(34))




歡迎光臨 TWed2k (http://twed2k.org/) Powered by Discuz! 4.1.0