Computing.Net > Forums > Programming > Need VB Script help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need VB Script help

Reply to Message Icon

Name: at1knowitall
Date: April 15, 2007 at 13:35:59 Pacific
OS: Windows 2000
CPU/Ram: P4
Product: Dell
Comment:

ok I need some help, What I need it to run a script at a certain time of day (about 2:30 AM) everyday or at least M-F, I am on Windows 2000 and I don't have access to Scheduled Tasks.

But I need the scipt to open up a program, pipe in my username and password, then run two programs after that.



Sponsored Link
Ads by Google

Response Number 1
Name: farmerjoe
Date: April 16, 2007 at 08:10:58 Pacific
Reply:

This sounds like a homework question.
Did you search google?

do the following:
Search google for how to use VBscript to get the system time.

set a variable to the current time.
check if current time is 2:30,
if it is, do stuff
if else, wait then loop.

to "pipe" in your username and password you could just send keystrokes, but that's a very bad idea when it comes to passwords.


0

Response Number 2
Name: Doug52392
Date: April 17, 2007 at 06:58:26 Pacific
Reply:

In XP, there is a command to run tasks: at. Im not sure if it was in Windows 2000, but from a command prompt, you can set up tasks to run using the at command.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Batch Copy File ARM Assembly IMPORT/EXPOR...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Need VB Script help

VB Script help www.computing.net/answers/programming/vb-script-help/15929.html

vb script help www.computing.net/answers/programming/vb-script-help/18990.html

vbs password protect script help www.computing.net/answers/programming/vbs-password-protect-script-help/13511.html