Clean Temporary Files without using software

There are many software like Ccleaner to delete temporary files.but here is the trick by which you can delete temporary files without any software.this will not clear browsing data or cache memory etc.So i can say it will not work same as ccleaner but somewhat near.



No steps today

Simply copy the following code and paste in notepad and save it as xyz.bat( .bat)
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\*.*”

del /q /s “%USERPROFILE%\recent\*.*”

Rmdir /q /s “c:\winnt\Temp”

Rmdir /q /s “c:\windows\Temp”

Rmdir /q /s “%USERPROFILE%\Local Settings\Temp”

Rmdir /q /s “%USERPROFILE%\Local Settings\Temporary Internet Files”

Rmdir /q /s “%USERPROFILE%\Cookies\*.*”

Rmdir /q /s “%USERPROFILE%\recent\*.*”

md “c:\winnt\Temp”

md “c:\windows\temp”

md “%USERPROFILE%\Local Settings\Temp”

md “%USERPROFILE%\Local Settings\Temporary Internet Files”

md “%USERPROFILE%\Cookies”

md “%USERPROFILE%\recent”


Now double click on it whenever you want to clean temporary files.
ALTERNATE METHOD

Steps


Step 1)


Open Run Window (window key + r)


Step 2)


type %temp% and press Enter.




Step 3)


you will have a new window showing all temporary files.

Delete them.



Thank you.
Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.