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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BATCH FILE TO TRIGGER A VBS FILE

Status
Not open for further replies.

pamo

Technical User
Oct 28, 2002
17
0
0
GB
I have two vbs files that run and transfer data into a database. I need to create a batch file in ms-dos which is set up in scheduled task to run every night at 1am. How??

I need to know what to write in the blue screen editor for the batch file
 
I have a VBS that runs once a week to defrag my drives in WIN2K. I don't use a batch file, I just set up the VBS as a scheduled task. But, if I really wanted to use a batch file, I would just put something like the folowing in it....

c:\pcmaint\dfrg3prt.vbs

That's it. In mine all it has is the drive letter, the folder(s), and the name of the VBS file. Then just add the batch file as a scheduled task. But, like I said earlier, I just add the VBS as a scheduled task and don't need a batch file.

Hope this helps!
 
sorted the problem many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top