The Windows Disk Cleanup Wizard will delete your temporary files, but only if they are over a week old. To create a simple batch script that will clean up your temporary directories: Create the Batch File Open Notepad and type (ensure you have two lines as shown below): cd C:\Users\%username%\AppData\Local rmdir /S /Q Temp Save the file as cleantemp.bat Now double click on the file, you created, to remove your temporary files and free up space on your computer. If this doesn't work and gives an access error, try replacing %username% with you windows login username. Automate the Process To automate this process: 1. Right click on the batch file you created and click create shortcut. 2. Place the shortcut in your startup folder in the start menu ( Customize Your Start Menu.) 3. Now when you log in to Windows 7, your temporary files will be deleted.
|
|||||||||||||
Disclaimer
1) E-articles is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringement, please read the terms of service and contact us or use the "Report this article" button on this page to investigate the problem.
2) E-articles is not responsible for inaccuracies, falsehoods, or any other types of misinformation this article may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. |
|||||||||||||