opposite of "net use"

7,668

Solution 1

net use z: /delete

Solution 2

Ignacio answered the immediate problem, but one hint: There is a /help parameter for any subprogram of the net command. So, net use /help shows you everything you need to know for connecting to network resources, and with net /help you get an overview of the complete program.

Share:
7,668

Related videos on Youtube

Claudiu
Author by

Claudiu

Updated on September 17, 2022

Comments

  • Claudiu
    Claudiu almost 2 years

    To mount a network drive from the cmd prompt on windows I can do, for example:

    net use z: \\vboxsvr\somedrive
    

    How would I disconnect it from the cmd prompt?

  • joeqwerty
    joeqwerty over 13 years
    also: command /?
  • Ignacio Vazquez-Abrams
    Ignacio Vazquez-Abrams over 13 years
    Also: Google, which is what I used to find the answer.
  • Claudiu
    Claudiu over 13 years
    for some reason i didn't know how to google this one. i assumed it would be "net unuse" or "net remove" or something. but "net remove windows" gave not so good results
  • John Gardeniers
    John Gardeniers over 13 years
    +1 It's always good to show how to find the answer for themselves.
  • user48838
    user48838 over 13 years
    "net use z: /d" will also work and save a few keystrokes as well...