:LOOP
:: Finds Removable Disk Letter
for /f "tokens=1-3" %%a in ('wmic logicaldisk get caption^, description') do if "%%b %%c"=="Removable Disk" set drive=%%a&goto COPY
:COPY
xcopy %drive% D:\Backup
goto :LOOP
我没有这样的批量经验,我想知道,我该怎么做?: 如果可移动磁盘不存在,不要去 COPY 去 LOOP 吗?