feAre, тогда только последовательно:
читать дальше »
Код:

@echo off
setlocal enableextensions enabledelayedexpansion
set sFolder=E:\Песочница\0331
call :CheckFolderAndFiles "%sFolder%" "crashchecker.exe" "ccsa.ini"
call :CheckFolderAndFiles "%sFolder%\B" "settings.dff" "develop.ini"
call :CheckFolderAndFiles "%sFolder%\C" "1.txt" "2.txt"
call :CheckFolderAndFiles "%sFolder%\D" "2.png" "2.png"
call :CheckFolderAndFiles "%sFolder%\E" "5.mp3" "6.mp3"
endlocal
exit /b 0
:CheckFolderAndFiles
setlocal enableextensions enabledelayedexpansion
set sFolder=%~1
if not exist "%sFolder%\." echo Folder [%sFolder%] not found.& goto :eof
:Repeat
set sFile=%~2
if not defined sFile goto :eof
if not exist "%sFolder%\%sFile%" echo File [%sFile%] not found in folder [%sFolder%].
shift /2
goto :Repeat
endlocal
exit /b 0
Цитата feAre:
Папка D:
Файлы: "2.png", "2.png" »
|
Это как понимать?