Computer Help Community

Community

Cyber Tech Help Community

New Tutorials

PC Tutorials

New Downloads

More Downloads
PC Downloads

Member Testimonials

Open Member Quote   To the staff and owners of Cyber Tech Help. You have a great site and a wonderful staff who helped me with a problem and did so quickly and professionally. I want to thank you for your efforts and think you are doing a wonderful job. Thank you, thank you, thank you - Carolina  Close Member Quote
Member Testimonials
MY CYBER TECH HELP

LATEST TOPICS

Tech Help Community

Free Antivirus Scan

Free Virus Scan and a listing of the top 10 viruses in the wild - Free Antivirus Scan
Free Online Antivirus Scan

File Extension Database

Find what program a filetype belongs to in our searchable File Extension Database.
File Extension Database

Related Microsoft Links

Services
Cyber Tech Help Community

To the top of the page to top

 



Tutorials | How to delete Temp Files Temporary Internet Files and Cookies

Publish date: 17:59 Thursday, 28th July 2005
Written by: MishY
Audience intended for: Windows ME Users, Windows 98 Users, Windows 95 Users
Category: Internet

Go up a levelGo up a level

Removing Temporary Internet Files How to delete Temp Files Temporary Internet Files and Cookies

Open Internet Explorer (IE) and click Tools then Internet Options on the tool bar.

Then click on Delete Files.

To delete Pages you've made Off-line readable put a tick in the box on the next window that pops up.

Removing Temporary Internet Files, History, Cookies and Temp FilesHow to delete Temp Files Temporary Internet Files and Cookies

What I do is I have these few lines of code in my Autoexec.bat file (this file is accessed during boot up) that automatically delete both these files when I turn the computer on. To use this method simply cut and paste this code into your Autoexec.bat file :

Code:


@ECHO OFF
IF EXIST C:\WINDOWS\SMARTDRV.EXE C:\WINDOWS\SMARTDRV.EXE 2048 16
IF EXIST C:\WINDOWS\TEMP\*.* DELTREE /Y C:\WINDOWS\TEMP\*.* > NUL
IF EXIST C:\WINDOWS\COOKIES\*.* DELTREE /Y C:\WINDOWS\COOKIES\*.* > NUL
IF EXIST C:\WINDOWS\RECENT\*.* DELTREE /Y C:\WINDOWS\RECENT\*.* > NUL
IF EXIST C:\WINDOWS\HISTORY\*.* DELTREE /Y C:\WINDOWS\HISTORY\*.* > NUL
IF EXIST C:\WINDOWS\TEMPOR~1\*.* DELTREE /Y C:\WINDOWS\TEMPOR~1\*.* > NUL

To edit your Autoexec.bat file to add this code go to Start/Find type Autoexec.bat in the search box and then right click on the file once it has been found and click on Edit. If you only want to delete these files every now and again remove the code after one full boot up and everything will return to normal when you reboot.

Alternatively you can download these lines of code in the form of a *.TXT file from Cyber Tech Help Downloads Section clean.zip. Once you have the file simply extract it using your favourite zip utility and cut'n'paste the code from CLEAN.TXT into your AUTOEXEC.BAT file which you will find in your C:\ directory then reboot for it to take effect.

 

Please Note: if you have any questions about this tutorial please ask on our support forums
If you have written a tutorial of your own and would like to have it here on Cyber Tech Help all you have to do is Submit your tutorial and it will be reviewed by the Administrator.