Find Unused Drive Letter
sweenig Jan 15th, 2014 218 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- @echo off
- for %%p in (z y x w v u s t r q p o n m l k j i h g f e d c b a) do (
- if exist %%p:\nul echo. %%p Disk in use
- if not exist %%p:\nul echo. %%p Disk is available
RAW Paste Data