net use [drive letter] /delete For example, to delete the network drive mapped as Z: , you would use:
net use Z: /delete
net use Z: \\server\share /persistent:yes cmd map network drive better
* **Reconnecting at Logon**: To ensure that your network drives are always available, consider adding a command to map the drive to your Windows startup scripts. net use [drive letter] /delete For example, to