Thursday, May 15, 2014

How to Remove Temp Files From Your Computer?

Temp file is a file created to hold information temporarily while a file is being created. After the program has been closed, the temporary file should be deleted. Temporary files are used to help recover lost data if the program or computer is abnormally halted. Copy Below Command to text file and save it as temp.bat
@echo off
color 4a
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
cl

No comments:

Post a Comment