Net use * /d /y
Posted on 2006-11-28
Often I have to map up to 10 drive letters to different machines.
When I log on, I get 2 drive mappings through logon script, they are S: and T:.
What Id like to find is a quick way to remove all my drive mappings through script, except keep S: and T:
I cant use:
net use * /d /y
because that will remove S: and T:
Do you guys know how I could quickly remove all drive mappings in a batch file except retain S: and T: ?