Skip PT STMT archive folders on export.txt search
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user