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

Using script to preform windows tasks

Status
Not open for further replies.

jankowski

Programmer
Jul 12, 2005
1
US
Can I use a script to preform windows tasks?

Essentially, this is what I would like to do:

start a script (like java) to run a command line program. Once the file opens in windows, it will prompt me for a password in a windows dialogue box that pops up. Then I have two chances to enter a numeric password from 0-10000.

After two chances, the program makes you reopen the file.

So I would like to write a script to automate this, so I do not have to do it by hand. How can I inteface the script so that it will enter a numeric value into the windows dialogue box? I think I can handle the rest of the scripting, I am just new to this interfacing part.

If you need to know, this is for a set of recovery disks that are factory password protected, but due to some issues with a possible corrupt file, and me being to cheap to go to my "authorized Toshiba dealer" for $65.00 an hour, I figure I would try to crack the password.

Other people have tried recompiling the preboot.bat file to fix the corruption, but I figure my approach may be easier for me.

Thank you,

Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top