scrcpy-noconsole.vbs 386 B

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