connecting/disconnecting network drives

crono_logical

Bird Eater
Joined
Mar 13, 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
Apr 14, 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
Jan 25, 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.
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 comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
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 https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?

Forum statistics

Threads
61,978
Messages
673,285
Members
89,063
Latest member
rahulpandy