Log in Script with password and user nam
Does anybody know the syntax for a Net Use command in a .bat file to add the User Name and Password. I have used it, but that was a long time ago.
Thanks
Networks
Does anybody know the syntax for a Net Use command in a .bat file to add the User Name and Password. I have used it, but that was a long time ago.
Thanks
by syscokid
Check it out here, near the bottom of the page:
by alee100
by dave.osborne
net use "drive letter" (F:, G:, etc) \\computer\share /USER:domain\userlogin password
example ...
net use z: \\server\share /user:home\admin 12345
if you need more info, just type "net use /?" at the command prompt.
Hope this helps.
-Dave
by alee100
by alee100
This discussion is closed to new replies.
Sort by Trending