
December 12th, 2003, 07:55 AM
|
|
Registered User
|
|
Join Date: Dec 2003
Posts: 15
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Re: Windows Script Host Question
Try
ww.run("""F:\Millennium\Central Agent.exe""" & "/D:CVGL /P:8719|8720")
Quote: Originally posted by samprass
Hi,
The following commandline parameter:
"F:\Millennium\Central Agent.exe" /D:CVGL /P:8719|8720 works the way it should from a command prompt, but if I try to script it as follows:
set ww = wscript.createobject("Wscript.shell")
ww.run("F:\Millennium\Central Agent.exe /D:CVGL /P:8719|8720")
it won't work since this requires "F:\Millennium\Central Agent.exe" embedded in quotation marks.
Was wondering if there is a way to use any kind of escape character to run this script??
Appreciate any help and thanks in advance.
-Samprass |
|