Simple Windows Batch Script to clean temporary files and free up disk space.
A lightweight Windows Batch Script that automatically removes temporary files, cache files, and unnecessary system junk to help improve performance and free storage space.
- Clean
%temp%files - Clean Windows temp files
- Flush DNS cache
- Empty Recycle Bin
- Clear Prefetch files
- Lightweight and fast
- No installation required
- Download
cleaner.bat - Run as Administrator
- Wait for the cleaning process
- Done 🎉
| Location | Description |
|---|---|
%temp% |
User temporary files |
C:\Windows\Temp |
Windows temporary files |
Prefetch |
Cached startup files |
| DNS Cache | Network cache |
| Recycle Bin | Deleted files |
- Some files may be skipped because they are currently in use by Windows.
- Running as Administrator is recommended for full cleaning access.
- Windows Batch Script (
.bat) - Native Windows CMD commands
- Add cleaning statistics
- Add disk usage report
- Add automatic scheduled cleaning
- Add GUI version
- Add browser cache cleaner
Pull requests are welcome. Feel free to fork this repository and improve the script.
This project is licensed under the MIT License.