Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using batch file to run vbs file

Status
Not open for further replies.

VBVines

MIS
Jun 11, 1999
98
US
Can someone give me the syntax to use a batch file to run a vbs file. I want to be able to add a line or two to batch files aleady in place to run a vbs file. aspvbwannab
 
call wscript c:\name.vbs
call cscript c:\name.vbs

wscript = runtime engine for scripts that run within a windows environment

cscript = for scripts that run within a dos window

Regards
Steve Friday
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top