Get-keys.bat
REM findstr in Windows supports limited regex; some syntax above may not be portable. REM We'll use simpler multiple findstr searches per pattern below.
set "OUTFILE=%CD%\get-keys_report_%DT%.csv" get-keys.bat
echo Scanning root: %ROOT% echo Extensions: %EXTS% echo Excludes: %EXCLUDE% if "%MASK%"=="1" echo Masking enabled if "%DRY%"=="1" echo Dry-run (no report written) REM findstr in Windows supports limited regex; some