Also skip folders containing 'archive' in path
This commit is contained in:
@@ -24,8 +24,8 @@ 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
|
||||
REM Skip any folder whose path contains "PT STMT" or "archive"
|
||||
echo %%d | findstr /i "PT STMT archive" >nul
|
||||
if errorlevel 1 (
|
||||
|
||||
if exist "%%d\export.txt" (
|
||||
|
||||
Reference in New Issue
Block a user