Computing.Net > Forums > Windows NT > pipping username and password to the 'net start' command.

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.

pipping username and password to the 'net start' command.

Reply to Message Icon

Name: Drew Phillibert
Date: November 16, 1999 at 09:00:14 Pacific
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Mark
Date: November 17, 1999 at 19:02:31 Pacific
Reply:

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


0

Response Number 2
Name: Drew Phillibert
Date: November 22, 1999 at 11:41:03 Pacific
Reply:

I think 'net logon' is a Netware command.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Win 95 Flat Share Dual boot - Win 9x/NT



Post Locked

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


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: pipping username and password to the 'net start' command.

Username and Password accessing website thru internet www.computing.net/answers/windows-nt/username-and-password-accessing-website-thru-internet/6789.html

Username and Password accessing website thru internet www.computing.net/answers/windows-nt/username-and-password-accessing-website-thru-internet/6820.html

Windows 3.x Logon to NT Server Domain www.computing.net/answers/windows-nt/windows-3x-logon-to-nt-server-domain/15202.html