I verified that I can get each parameter to run separately by trying to run the command with only one parameter as the argument.
- wshshell.run """c:\Program Files\UltraVNC\vncviewer.exe"" -dsmplugin MSRC4Plugin.dsm"
This activated the viewer with the plug-in
-
wshshell.run """c:\Program Files\UltraVNC\vncviewer.exe"" "-listen 5900"
This activated the viewer. But when both parameters in the same quote it only will run the last parameter bypassing the first one.
I tried to separate each parameter with its own quotes but the script will not compile
- wshshell.run """c:\Program Files\UltraVNC\vncviewer.exe"" -dsmplugin MSRC4Plugin.dsm" "-listen 5900"
Maybe this is simply a case of me forgetting a quote somewhere.