Hey guys
I'm trying to map a network drive permamently with a password and username in windows, using a batch file.
So far,
NET USE G: \\networkname\share /User:Username /PERSISTENT:YES
Now, somewhere in here it needs a password, the help for the command reckons that this is the syntax, but it doesn't make much sense to me
NET USE [devicename | *] [\\computername\sharename[\volume] [password | *] [/USER:[domainname\]username]
Anyone help?
Thanks
I'm trying to map a network drive permamently with a password and username in windows, using a batch file.
So far,
NET USE G: \\networkname\share /User:Username /PERSISTENT:YES
Now, somewhere in here it needs a password, the help for the command reckons that this is the syntax, but it doesn't make much sense to me
NET USE [devicename | *] [\\computername\sharename[\volume] [password | *] [/USER:[domainname\]username]
Anyone help?
Thanks
