Delete all temporary files in Windows 10 Just one click
Delete all temporary files in Windows 10 Just one click
Windows 10 can get filled with junk files that take up valuable hard drive space, so how about removing them with a simple batch file? You can remove temporary internet files, recent files, temp files, preload files, windows.old, and more.
- You can delete all temporary files in Windows 10 with a single click by creating and running a batch file. Here's how to do it:
- Open Notepad: Press Win + S, type "Notepad" and hit Enter.
- Copy and paste the following code:
HTML
CD/ COLOR 0A ECHO DELETE ALL TEMP FILES C: CD %TEMP% RMDIR/S/Q %TEMP% CD C:\WINDOWS\TEMP RMDIR/S/Q C:\WINDOWS\TEMP CD C:\WINDOWS\Prefetch RMDIR/S/Q C:\WINDOWS\Prefetch CD %TEMP% CD.. CD..CD Recent Del/s/q *.*
- Save the File: Click File > Save As, name it DeleteTempFiles.bat, and choose "All Files" in the "Save as type" dropdown. Save it to your desktop or another convenient location.
- Run the Batch File as Administrator: Right-click the DeleteTempFiles.bat file and select "Run as administrator".
This script will delete temporary files from various locations on your system. Make sure to save any work before running it, as it will close any open applications that are using temporary files.
আমার বাংলা নীতিমালা মেনে কমেন্ট করুন। প্রতিটি কমেন্ট রিভিউ করা হয়।
comment url