A collection of Windows Command Prompt (Batch) scripts developed and maintained by me.
Each script provides quick automation, diagnostics, or quality-of-life features for Windows systems.
- File:
menu_launcher.bat - Description: A text-based launcher that allows you to easily run any of the available batch utilities.
- Features:
- Clean console menu.
- Calls other scripts automatically.
- Designed to scale as more utilities are added.
- File:
sysinfo_snapshot.bat - Description: Collects system, network, and disk information into a timestamped report folder.
- Features:
- Saves output of
systeminfo,ipconfig /all, installed hotfixes, and disk usage. - Reports stored under:
scripts/reports/<yyyy-MM-dd_HH-mm-ss>/ - Great for troubleshooting or documentation snapshots.
- Saves output of
- File:
net_quickdiag.bat - Description: Quickly checks IP config, pings your default gateway and public DNS, verifies DNS resolution, prints route table, active connections, and DNS cache.
- Features:
- Shows IPv4/Subnet/Default Gateway.
- Pings your default gateway.
- Verifies DNS resolution with
nslookup. - Tests internet reachability (1.1.1.1 & 8.8.8.8).
- Prints route table and active connections.
- Displays DNS cache entries.
-
Clone the repository:
git clone https://github.com/APonder-Dev/windows-batch-utilities.git cd windows-batch-utilities -
Navigate into the
scriptsfolder:cd scripts -
Run the menu launcher:
menu_launcher.bat
- Open
menu_launcher.bat. - Choose a number from the list.
- Outputs are displayed in the console or saved to the
reports/folder.
Example:
scripts\sysinfo_snapshot.batPlanned future scripts include:
- 🧹 Temp & Cache Cleaner — wipe safe temp folders and browser caches.
- 💾 Smart Backup — incremental backups via
robocopy. - 🗂️ File Organizer — sort files into extension-based folders.
- 🔍 Large File Hunter — find largest files recursively.
- 📡 Wi-Fi Profile Exporter — dump saved Wi-Fi profiles to XML.
- 📝 Hosts Toggle — swap between dev and default hosts file.
- 🔧 Git Quick Helper —
git add + commit + pushshortcut. - 📶 Ping Sweep — scan local subnet for alive hosts.
- 🔄 Windows Update Check — list available updates (PowerShell required).
This repo can be extended with GitHub Actions:
- Every tag push (e.g.
v1.0.0) → package scripts into a.zipand attach to a GitHub Release. - Keeps releases clean and ready to download.
Workflow file: .github/workflows/release.yml
.
├─ scripts/ # All batch scripts live here
│ ├─ menu_launcher.bat
│ ├─ net_quickdiag.bat
│ ├─ sysinfo_snapshot.bat
│ └─ reports/ # Auto-created by sysinfo_snapshot (Will not see this yet.)
│ └─ <yyyy-MM-dd_HH-mm-ss>/
│ ├─ systeminfo.txt
│ ├─ ipconfig_all.txt
│ ├─ hotfixes.txt
│ └─ disks.txt
├─ .github/workflows/ # GitHub Actions configs (optional)
├─ .gitignore
├─ .gitattributes
├─ LICENSE
└─ README.md
This project is licensed under the MIT License.
- Found a bug? → Open an Issue.
- Want to contribute? → Pull Requests are welcome.
- If you find these utilities useful, please consider starring ⭐ the repo!
If you find these tools helpful, you can support my development: