• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

NET USE command....a little help please (easy question)

DaLeroy

Golden Member
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
 
just add the password at the end... exactly like how the syntax shows you..

NET USE G: \\networkname\share /User:Username /PERSISTENT:YES password
 


<< just add the password at the end... exactly like how the syntax shows you..

NET USE G: \\networkname\share /User:Username /PERSISTENT:YES password
>>



Cheers, originally I had the password before the username, as that's what the syntax seems to point at....
 
Back
Top