| 12345678 |
- ' 在 VBS 所在目录执行 scrcpy.exe,确保能找到 exe 及同目录 dll
- strCommand = "cmd /c cd /d """ & CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & """ && scrcpy.exe"
- For Each Arg In WScript.Arguments
- strCommand = strCommand & " """ & Replace(Arg, """", """") & """"
- Next
- CreateObject("Wscript.Shell").Run strCommand, 0, False
|