Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
March 8, 2001
It is easy to delete all the drives that you mapped with the net use command:
net use * /d /y
To delete all the drive mappings that you created with the subst command:
for /f "tokens=1 Delims=:" %%i in ('subst') do @if not "%%i"=="" subst %%i: /d
You May Also Like