bat文件遍历脚本

echo off
cd ..\..\..\Dist\media\gui
FOR /F "delims==" %%i IN ('dir /b') do (
if exist "..\..\..\Tools\texturepack\%%i" (echo %%i ok ) else (echo %%i err)
)
pause

转载于:https://www.cnblogs.com/112ba/p/6219348.html

你可能感兴趣的:(bat文件遍历脚本)