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!

Run VBS file 1

Status
Not open for further replies.

rekhatr10

Programmer
Apr 2, 2004
67
0
0
US
How do you automate running of a vbs file? Any help is appreciated. Right now I run it through command prompt using cscript

Thank you

 
In a console window executes at /?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Can you explain furture if you don't mind. I am new to this

Thank you
 
What is your meaning of 'automate running' ?
AT is the standard NT task scheduler used to automate tasks.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
You can schedule to run it in ControlPanel/ScheduledTasks
 
Click Start, Run. Type CMD, click OK.

In the window that opens, type:

AT 10:00 "cscript myvbscrip.vbs"

That would execute the script at 10am.

For more help on using the At command, type "at /?"

Hope that helps, and I'm not being patronising....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top