Universal File Matcher & Batch Copier for Windows
- ⚡ Single Standalone Executable (
List Scanner.exe): Completely portable. Copy onlyList Scanner.exeinto any working directory alongsidelist.txtand run! No.ps1or.batfiles required in that directory! - 🎛️ Interactive Mode Selection on Launch: Choose between 4 flexible matching modes on launch, defaulting to ALL MODES automatically by simply pressing Enter.
- 🎯 Universal Extension Support: Scans and matches any file format (
.png,.jpg,.pdf,.zip,.mp4,.exe,.doc,.csv, etc.) specified inlist.txt. - 🔍 Flexible Embedded Substring Matching: Locates files where list IDs appear anywhere as embedded substrings inside complex filenames (e.g.
8261insideINV_8261_final.pdf). - 🧹 Automatic Bullet & List Sanitization: Automatically strips list formatting prefixes (
-,*,•,1.,1)) copied from Markdown, Word, or emails. - 🛡️ Smart Application Isolation: Protects application binaries (
List Scanner.exe, build scripts, engine files) from being matched or copied. - 📄 Standardized Professional Reports: Generates unified, beautifully structured report files (
Missing Items.txt,Partial Matches.txt,Multiple Matches.txt,Copy Failures.txt,Verification Failures.txt).
List_Scanner/
├── assets/
│ ├── icon.png # High-Resolution HD App Icon (1024x1024)
│ └── icon.ico # Auto-generated 256x256 multi-res Win32 Icon resource
├── src/
│ └── M3 File Engine.ps1 # Universal File Matcher & Copier Core Engine
├── build/
│ └── Build-Exe.ps1 # Automated C# / Win32 Standalone Executable Compiler
├── List Scanner.exe # Ready-to-use Standalone Windows Executable (Version 1.0)
├── list.txt # Target items list file (Example)
├── .gitignore # GitHub ignore rules
└── README.md # Documentation & user guide
Copy List Scanner.exe into the folder containing the files you wish to scan.
In the same folder, create a plain text file named list.txt with item names (one per line).
Invoice1
Invoice2.pdf
- MZ0002561
Tax Report
8261
Note: Flexible List Inputs Supported:
- Without extension (
Invoice1): Matches base nameInvoice1across any extension (Invoice1.pdf,Invoice1.docx, etc.).- With extension (
Invoice2.pdf): Performs exact filename matching.- Bulleted / Formatted lines (
- MZ0002561): Automatically strips bullet symbols (-,*,1.) to extract the core search ID.- Embedded Substrings (
8261): Matches files containing8261anywhere inside the filename (INV_8261_final.pdf).
Double-click List Scanner.exe.
- The engine will open in a maximized console window and display the Matching Mode Selection Menu:
[1] ALL MODES (Default - Press Enter): Scans for exact filenames, base names, and embedded substrings.[2] Full Filename with Extension Only[3] BaseName without Extension Only[4] Embedded Substring / Partial ID Only
- Press Enter (or type
1to4and hit Enter). - The engine creates a timestamped output directory:
List Items (dd-MM-yyyy - HH.mm.ss). - Copies all matched files and performs post-copy file size verification.
- Generates detailed report logs inside
List Items (...)/Reports/.
If you modify src/M3 File Engine.ps1 or update assets/icon.png, you can re-compile List Scanner.exe with a single command using Windows' built-in C# compiler (csc.exe):
Open PowerShell in the repository root and run:
powershell -NoProfile -ExecutionPolicy Bypass -File "build/Build-Exe.ps1"The build script will:
- Generate
assets/icon.icofromassets/icon.png. - Embed the script into a C# host template with full Win32 assembly metadata.
- Compile a new standalone
List Scanner.exein the root folder.
Created by Meet Mistry.
Distributed under the MIT License. See LICENSE for details.