
how to run .vbs using wsh
set shell = createobject("wscript.shell")
shell.run "c:\path\myscript.vbs"
shell.run """c:\path with spaces\myscript.vbs"""
shell.run "cscript.exe ""c:\path with spaces\myscript.vbs"" arg1 arg2 ""this is arg 3"" arg4"
--
Michael Harris
MVP Scripting