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

Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
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?

Forum statistics

Threads
62,005
Messages
673,461
Members
5,599
Latest member
Larry Chris