how to run .vbs using wsh 
Author Message
 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



Fri, 01 Nov 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. How to pass back variables from called vbs from vbs using wsh

2. Running a WSH vbs from ASP

3. How to Run a program with vbs/wsh

4. Running vbs using scheduler

5. Running vbs using scheduler

6. using adox in wsh/vbs ?

7. Schedulling using Windows Script Host WSH and vbs

8. Multi -dimensional array using VBS and WSH

9. Multi -dimensional array using VBS and WSH

10. using enumerated constants via wsh/vbs?

11. using adox in wsh/vbs ?

12. Getting Hardware Info using VBS and WSH?

 

 
Powered by phpBB® Forum Software