Pages

Sunday, January 8, 2012

Delete the Temporary file of Windows 7 Automatically

1. Open Notepad
2. Copy paste the code given below

cd C:\Users\%username%\AppData\Local
rmdir /S /Q Temp

3. Save that as sq.bat
4.Double click on it to delete all the temporary files.

To do it automatically,
1. Go to Start Menu ---> All Programs ---> Startup ---> Right Click on it ---> Click Explore
2. Paste the sq.bat file there.

By doing this, it will always delete the temporary files at the start of the windows.