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

NET USE (command) 1

Status
Not open for further replies.

EzLogic

Programmer
Joined
Aug 21, 2001
Messages
1,230
Location
US
Hi everyone...

Is there a way I can run the Net Use Command without shelling to dos? and without using the RUN command??

Right now I do the following:

!NET USE \\ServerName\ShareName PASSWORD (WIN98)

!NET USE \\ServerName\ShareName PASSWORD /USER:USERNAME

And I have to use the OS() to determine which command to use.

Is there another way this could be accomplished using built-in DLL for windows? like WinInet, or other things?

Please advice!
Thank you in advance! Please let me know if this helped you :-)

Tekno
Wireless Toyz
Ypsilanti, Michigan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top