diff --git a/data/scrcpy-noconsole.vbs b/data/scrcpy-noconsole.vbs index 2e0c0543..d509ad7f 100644 --- a/data/scrcpy-noconsole.vbs +++ b/data/scrcpy-noconsole.vbs @@ -1,7 +1,7 @@ strCommand = "cmd /c scrcpy.exe" For Each Arg In WScript.Arguments - strCommand = strCommand & " """ & Arg & """" + strCommand = strCommand & " """ & replace(Arg, """", """""""""") & """" Next CreateObject("Wscript.Shell").Run strCommand, 0, false