Fixed for loop

This commit is contained in:
Tim Mattison 2014-07-29 15:00:06 -07:00
parent ca6f67ead8
commit 4fd4ad73b3
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ ENTER
REM DuckyWait.bat
STRING :while1
ENTER
STRING for /f %%d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"')
do set myd=%%d
STRING for /f %%d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set myd=%%d
ENTER
STRING if Exist %myd% (
ENTER