The Script Library
Menu
The Script Library
Browse
Search
Submit
Reference
About
Contact
Link to Us
Index

Display

Home > Batch > Scripting Techniques > Other





Invoke a vbscript from a batch file



 

Description
This shows how to invoke a vbscript file from a batch file. It is important to specify the path and name of the interpreter, which in this case is cscript.exe. Also ensure you put quotes around the script path/name.

 

Author/Submitter
Marty Lindsay

 

Batch Code

C:\WINDOWS\system32\cscript.exe "C:\Program Files\scripts\thescript.vbs"	






Search The Library


Search String

Script Language