Delete network drive from command line

Monday, October 19, 2009 Leave a Comment

We can delete mapped connection to a network share from command line. We can use 'net use' command for this. For example to disconnect the network share mapped to the drive z: we can run the below command.

net use /del Z:

Similarly to disconnect all the mapped drives we can run the below command.


net use /del *

1 comments »

Leave your response!