How to Automatically Delete Temporary Files & Prefetch from Windows



How to Automatically Delete Temporary Files & Prefetch from Windows. Remove All Temp & Junk Files from window by just one click.

  1. temp
  2. %temp%
  3. prefetch

Code:

@echo off del /s /f /q c:\windows\temp\*.* rd /s /q c:\windows\temp md c:\windows\temp del /s /f /q C:\WINDOWS\Prefetch del /s /f /q %temp%\*.* rd /s /q %temp% md %temp% deltree /y c:\windows\tempor~1 deltree /y c:\windows\temp deltree /y c:\windows\tmp deltree /y c:\windows\ff*.tmp deltree /y c:\windows\history deltree /y c:\windows\cookies deltree /y c:\windows\recent deltree /y c:\windows\spool\printers del c:\WIN386.SWP cls

If you want to Run this "BAT" file automatically then save this file in "Startup" folder.


Path:

C:\Users\{"User Name"}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

For Reference:



Tags: 

#DeleteAllTemp
#CleanComputer
#FastComputer



No comments

Powered by Blogger.