SHARE
TWEET

Find Unused Drive Letter

sweenig Jan 15th, 2014 203 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. 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 (
  3.         if exist %%p:\nul echo. %%p Disk in use
  4.         if not exist %%p:\nul echo. %%p Disk is available
  5. )
RAW Paste Data
Top