Forum Discussion
Dmitry_Nikolaev
Staff
16 years agoHi Robert,
To use quoted parameters, it is necessary, firstly, to add two quotation marks before the filename and after the last parameter, secondly, add the backslash symbol before and after the quoted parameter, for example:
Sys.OleObject("WScript.Shell").Exec("cmd /c """"C:\Program Files (x86)\Path\App.exe"" username=xyz applet=\""parameter\""""")
Sys.OleObject("WScript.Shell").Exec("cmd /c \"\"C:\\Program Files (x86)\\Path\\App.exe\" username=xyz applet=\\\"parameter\\\"\"");