I hope someone can help me with this. I've been trying to figure it out but run into a brick wall every time. I need to run a command and pass parameters to it, problem is the when I enclose the executable with double quotes I can't pipe additional parameters to it.
Heres the code:
WSHShell.Run "runas /u:NEO\administrator ""c:\VNCTemp\SetupRealVNC4.exe /SP- /VERYSILENT""" & "| sanur.exe password""",2,True
Heres what I need to run from a command shell:
runas /u:NEO\administrator "c:\VNCTemp\SetupRealVNC4.exe /SP- /VERYSILENT" | sanur.exe password
Thanks,
-Sip
Heres the code:
WSHShell.Run "runas /u:NEO\administrator ""c:\VNCTemp\SetupRealVNC4.exe /SP- /VERYSILENT""" & "| sanur.exe password""",2,True
Heres what I need to run from a command shell:
runas /u:NEO\administrator "c:\VNCTemp\SetupRealVNC4.exe /SP- /VERYSILENT" | sanur.exe password
Thanks,
-Sip