Disconnect a network drive from command line
You can disconnect a network drive directly from command line.
For Windows
Follow these steps :
- Use combination of keys
- type "cmd" and press "enter".
- type "net use z: /delete" (Z is the letter of drive).
Press enter again.
- Windows confirm that the drive has been disconnected.