this.exe address: 192.168.168.100 logfile: c:\logfile.log
How can I do this?
--
Thanks!
Your question is a little unclear. Which of the following to
you mean:
- Run an .exe file by itself?
- Invoke it from within a bach file?
- Invoke it from within a VB Script file?
If it is the last one, have you looked at the "exec" and "run"
methods of the WScript.Shell object?
"""c:\program files\test.exe"" -address 10.1.2.3"
You also need the Run or the Exec method to 'shell out' to the command
environment ...
with createobject("wscript.shell")
.run """c:\program files\test.exe"" -address 10.1.2.3", 0, true
end with
wsh.echo "Done"
Tom Lavedas
===========
http://members.cox.net/tglbatch/wsh/
"Tom Lavedas" <tglb...@cox.net> wrote in message
news:904fece6-198b-41e5...@b1g2000hsg.googlegroups.com...