Link to home
Start Free TrialLog in
Avatar of thenrich
thenrich

asked on

Delete mappings

With vb script how can I delete all current drive mappings?
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Does it have to be vbscript?   You can do this with a batch file
 
Echo Off
net use * /delete
Thanks
Mike
ASKER CERTIFIED SOLUTION
Avatar of remmett70
remmett70
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Typo:    Change objNetwork to wshNetwork when enumerating the network drives