Use args instead of Wscript.Arguments

This commit is contained in:
Nika Gerson Lohman 2018-12-07 22:46:31 +01:00 committed by GitHub
commit c2a591c8bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,5 +17,5 @@ end if
Set WshShell = WScript.CreateObject("WScript.Shell")
returnValue = WshShell.Run("""" & WScript.Arguments(1) & """" & sargs, WScript.Arguments(0), True)
returnValue = WshShell.Run("""" & args(1) & """" & sargs, args(0), True)
WScript.Quit(returnValue)