connecting/disconnecting network drives

Discussion in 'Windows Desktop Systems' started by crono_logical, May 15, 2004.

  1. crono_logical

    crono_logical Bird Eater

    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
  2. cpugeniusmv

    cpugeniusmv Computer Genius

    type this at a command prompt:

    net help use


    map network drive:

    net use Z: \\computername\sharename

    unmap network drive:

    net use /delete Z:
    LeeJend likes this.
  3. LeeJend

    LeeJend Moderator

    Fort Worth, TX
    Thanks CPU. I have to map 3 remote drives to access my stuff at work and it was a pain in windows.