Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Dos command to disconnect from server drive  (Read 22047 times)

0 Members and 1 Guest are viewing this topic.

timrob

    Topic Starter


    Intermediate
    Dos command to disconnect from server drive
    « on: February 11, 2010, 08:33:25 AM »
    When I boot up every morning at work on my Windows XP Pro SP2 computer, 15 different network drives are loaded.  Using Windows Explorer, I right click and disconnect from the unneeded drives. 

    Is there a Dos command for disconnecting network drives?

    BillRichardson



      Intermediate

      Thanked: 15
      Re: Dos command to disconnect from server drive
      « Reply #1 on: February 11, 2010, 08:42:12 AM »
      Is there a Dos command for disconnecting network drives?

      Quote
      "To disconnect a network drive from a DOS prompt (in this case drive N:) run the following
      command (This will work on Windows NT and Windows XP, may also work on other windows but I'm not sure."
      net use N: /delete
      "

      http://www.tiplib.com/140/disconnect-network-drive-command-prompt
      Bill Richardson

      timrob

        Topic Starter


        Intermediate
        Re: Dos command to disconnect from server drive
        « Reply #2 on: February 11, 2010, 10:28:02 AM »
        Works like a charm.  I'll put it in a batch file.  Thanks.