Skip PT STMT archive folders on export.txt search

This commit is contained in:
blance
2026-04-23 21:19:59 -05:00
parent ea5aa9fc24
commit f4e11b1c6a
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -24,6 +24,10 @@ echo.
REM === LOOP THROUGH ALL SUBFOLDERS ===
for /r "%ROOT%" %%d in (.) do (
REM Skip any folder whose path contains "PT STMT" (already-archived folders)
echo %%d | findstr /i "PT STMT" >nul
if errorlevel 1 (
if exist "%%d\export.txt" (
echo Found: %%d
@@ -48,6 +52,8 @@ for /r "%ROOT%" %%d in (.) do (
echo.
popd
)
) REM end skip PT STMT check
)
echo Done.