Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to pipe username and password to the 'Net Start" command on a NT4-DOS client Bootdisk. I placed the username and password in a text file called logon.txt and placed the ascii codes for carriage return and line feed behind each.
In the autoexec.bat I piped the logon.txt file as follows...
net start < logon.txt
This failed cause the NET command doesn't recognize '< logon.txt' as a valid parameter to the net command.
So I created a Logon.bat file that simply contained the 'Net start' command and called it from the Autoexec.bat file as follows...
logon.bat < logon.txt
This failed without an error message.
Is it possible to do what I am trying to do? or am I simpy approaching it wrong?
Please email me a response? drewp@kdc-atlanta.com

Use the net logon command. Syntax is net logon [username] [password]. For example: net logon user1 pass1.

![]() |
Win 95 Flat Share
|
Dual boot - Win 9x/NT
|

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