Saturday, April 28, 2012

Mapped drives or shared drive commands

to map  a drive 

NET USE k:\test\book

NET USE M: /DELETE

NET USE M: "\\sharename" /PERSISTENT:NO


If a password is needed, the command will look like this:
NET USE M: "\\sharename" password /USER:domain\username /PERSISTENT:NO
The /PERSISTENT:NO at the end of the command tells Windows that it shouldn't try to reestablish the drive mapping at boot.

1 comment:

  1. hi Techropes blog owner,

    wanted to speak with you. if you can kindly email me at david @ konnectngo . com

    wanted to talk to you about ur blogs.

    ReplyDelete