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!

Syntax to script login & password from autoexec.bat on DOS6.2 PC

Status
Not open for further replies.

harrist1

Technical User
Aug 2, 2001
1
US
I can't remember the syntax. I know you create a text file that contains the username and password. Is there as colon in between? Does the filename have to have a certain extension like .dat?

Then in the autoexec.bat the line reads something like the following;

login /s <file name>

but I can't seem to point to the script file correctly. I get file creation error or path not found.

Much thanks to anyone who can help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top