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

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!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,589
Latest member
glen