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 😛
 
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:
 
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.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,642
Latest member
osipov
Back
Top