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

net use

Status
Not open for further replies.

EscapeUK

Programmer
Jul 7, 2000
438
GB
Using vb 6 using the following code: How do I pass in my pass word:

net use z: \\abc-machine\the share /user:mydomain\First.Surname

Basically I want want create a share but have to use a domain user name and password to generate.
 
This is what we use to map a printer:

net use lpt1: \\bmprinter\bmq /user:printer 24195

the 24195 is the password

Hope it helps...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top