connecting/disconnecting network drives

crono_logical

Bird Eater
Joined
13 Mar 2004
Messages
92
Is there an easy way to disconnect and reconnect network drives to different share points through the command line? I'm thinking of writing a batch file which I can run, so I can mass change where my drive letters point to quickly when I need different resources from different IPs on my network. Doing this one by one for 13 network drives via Explorer is rather tedious :p
 

cpugeniusmv

Computer Genius
Joined
14 Apr 2003
Messages
485
type this at a command prompt:

net help use

basics:

map network drive:

net use Z: \\computername\sharename

unmap network drive:

net use /delete Z:
 

LeeJend

OSNN Veteran Addict
Joined
25 Jan 2003
Messages
5,291
Thanks CPU. I have to map 3 remote drives to access my stuff at work and it was a pain in windows.
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,593
Latest member
moussa021