windows7-Automatically delete temporary files

Wednesday, March 24, 2010 , Posted by gurur@j at 3/24/2010 06:33:00 AM

Automatically delete temporary files

Windows-7 comes with the disk clean-up wizard like windows vista and xp,but that utility only delete your temporary files if they are more that a week old.you can automate the process by creating a simple batch file and then making it run at start-up so that you never have to worry about manually freeing up space from your temp folder.

 
open notepad and click on File > save As.
In the file name dialog box,type"temclean.bat"
change the entry in save as type drop down box to "All files"
click on save.

 
Then in your file,type the following:cd c :\users\%user name%\app data\local Rimdir /s /Q Temp
save the File.

 
Navigate to the folder where the file is saved.
Right-click on 'create shortcut'
place this shortcut in your ' startup'folder in your start menu.
 Every time you log in to windows,the file will be executed and your temporary files will be cleaned.This is very useful for net books an laptops with small hard-disk space.In case you get  an access error while the file is being executed,replace %user name% in the file  with your windows login user name.




Currently have 0 comments:

Leave a Reply

Post a Comment

ThinkBlogLab|TechnologyBlog

up
Latest News
rss

Enter your email address:

Delivered by Think Blog Lab

Google Earth 3D-UpComing Buildings

Sample