Re: Run command help!!!!




"TD" <dlee@xxxxxxxxxxx> wrote in message
news:ec6f9769-e7ef-4432-8afe-c41e5ff3534a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This is the proper syntax to run this program:
"C:\Program Files\Eraser\Eraserl.exe" -file "C:\Program Files\PBC
\pbc.mdb" -method "Gutmann"

I would like to run it in a wsh script like this:

Set ws = WScript.CreateObject("WScript.Shell")

ws.Run "C:\Program Files\Eraser\Eraserl.exe" -file "C:\Program Files
\PBC\pbc.mdb" -method "Gutmann"

BUT I can't get the syntax correct. Any ideas how to make this
work.

Thanks,
TD

Have a look here - it's much about the same subject: How to place
your double quotes.
http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_thread/thread/4436f16fd7bb29e5/afbf1e541ef687a0


.


Loading