[VBS ] act.run后加参数?

楼主: vernc (cralvin)   2021-04-29 03:23:12
C:\Program Files (x86)\Battle.net\Battle.net.exe
Set Act = CreateObject("Wscript.Shell")
Act.run"""C:\Program Files (x86)\Battle.net\Battle.net.exe"""
上面没问题,但请问这种有参数的要怎处理?
"C:\Program Files (x86)\Battle.net\Battle.net.exe"
作者: laechan (挥泪斩马云)   2021-04-29 15:28:00
就 " ... " 里面的 " 全部多加一个 " 试试?ex: "xxx" -oo"zz" => """xxx"" -oo""zz"""

Links booklink

Contact Us: admin [ a t ] ucptt.com