Monday, March 10, 2014

Delete temp file using double click

1. Open notepad

2. copy-paste this code.

del /q /s "c:\winnt\temp\*.*"
del /q /s "c:\windows\temp\*.*"
del /q /s "%USERPROFILE%\Local Settings\Temp\*.*"
del /q /s "%USERPROFILE%\Local Settings\Temporary Internet Files\*.*"
del /q /s "%USERPROFILE%\Cookies\*.*"
Rmdir /q /s "%USERPROFILE%\Local Settings\Temporary Internet Files"
Rmdir /q /s "%USERPROFILE%\Local Settings\Temp"
Rmdir /q /s"%USERPROFILE%\Cookies\*.*"
Rmdir /q /s "c:\winnt\Temp"
md "%USERPROFILE%\Local Settings\Temporary Internet Files"
md "%USERPROFILE%\Local Settings\Temp"
md "%USERPROFILE%\Cookies"
md "c:\winnt\Temp"
md "c:\windows\Temp"

3. Save it as "Temp remover.bat"

4. double click and remove all temporary files....

0 comments:

Post a Comment