Tech Support > Microsoft Windows > Help and Support > Disconnect network drive with a "net" command line command / Opposite of "net use" ?
Disconnect network drive with a "net" command line command / Opposite of "net use" ?
Posted by Anja Mechtel on April 26th, 2006


I can connect/map a network drive from the command line by using the "net use" command e.g.

net use M: \\barny\myfolder23 /persistent:no

This works fine. But how do I disconnect this mapping again from the command line?

"net stop" is as far as I know only for stopping services.

Anja

Posted by Steve Rollins on April 26th, 2006


Net use driveletter: /delete will disconnect the drive

If you do net use /? it will give you a list of options that you can use.

"Anja Mechtel" wrote: