mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
Pass arguments through to scrcpy.exe
This commit is contained in:
parent
94eff0a4bb
commit
1a3ea2ba7f
1 changed files with 14 additions and 1 deletions
|
@ -1 +1,14 @@
|
||||||
CreateObject("Wscript.Shell").Run "cmd /c scrcpy.exe", 0, false
|
Set Args = WScript.Arguments
|
||||||
|
|
||||||
|
strCommand = "cmd /c scrcpy.exe"
|
||||||
|
|
||||||
|
If (Args.Count > 0) Then
|
||||||
|
strArg = ""
|
||||||
|
For Each Arg In Args
|
||||||
|
strArg = strArg + " " + Arg
|
||||||
|
Next
|
||||||
|
|
||||||
|
strCommand = strCommand + strArg
|
||||||
|
End If
|
||||||
|
|
||||||
|
CreateObject("Wscript.Shell").Run strCommand, 0, false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue