Run a batch file within a VBS??? 
Author Message
 Run a batch file within a VBS???

How do I run a batch command (*.bat) within a vbs file?

Is it possible to run ANY executable (.exe) within a .vbs file?

thanks.



Sat, 07 Feb 2004 03:43:25 GMT  
 Run a batch file within a VBS???
Any bat and exe can be run from WSH:

Download the documentation.

WSH Documentation
http://msdn.microsoft.com/scripting/windowshost/wshdoc.exe

VBScript Documentation
http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe

See the the WScript.Shell Run method

Regards,
Torgeir

Quote:

> How do I run a batch command (*.bat) within a vbs file?

> Is it possible to run ANY executable (.exe) within a .vbs file?

> thanks.



Sat, 07 Feb 2004 04:00:14 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Running VBS Script Via Logon Batch File

2. Running a .vbs script from within a .vbs script

3. visio vbs running on a batch server

4. Batch file won't run with WshShell.run

5. Calling *.vbs files to Run From Master VBS File

6. How to execute a batch file within a vbscript or activeX ftp object

7. how to execute a batch file into a VBS file

8. How do you pass parameters from a batch file to a VBS file

9. Running batch file from asp file

10. Run an exe from within VBS

11. Logon Batch to call a VBS that calls another batch

12. Running PKZip fails from within VBS through Cscript.exe

 

 
Powered by phpBB® Forum Software