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
+1
View File
@@ -72,5 +72,6 @@ Found: C:\Patients\abc\Patient\Export\.
### Notes
- Uses `pushd`/`popd` to work around Windows' 260-character path length limit
- Skips any folder whose path contains `PT STMT` so already-archived folders are never re-processed
- Safe to re-run — `mkdir` for the dated folder will silently skip if it already exists
- Date format is `YYYYMMDD` (e.g. `20260423`)