Tip: Clean Out The Prefetch


Recommended Posts

Windows XP has a feature that monitors files that are used when you boot and also applications that you start. It puts a log of these in the Prefetch folder under C:/Windows. And....so it goes to this folder and "prefetches" those files for faster startups. A nice feature, but that cache folder can fill up rather fast with "junk" files (old stuff you rarely use any more)---it needs to be cleaned out at least once a month--more often if you are a heavy user. One "technique" I used recently was having a shortcut to the Prefetch folder on my desktop (named, of all things, "Clean Prefetch"---original, huh? :rolleyes: ). That would open the folder and I would manually delete all the files.

Anyway....here's one better---make a shortcut to a simple batch file that will erase all the contents of the Prefetch folder with just one click. Here's how:

1. In Notepad, type the following (or just cut & paste the text below):

del C:\Windows\Prefetch\*.* /Q

2. Click on "Save As", then in the scrolldown menu "Save as type", select "All files".

Saving the file to the C:/ drive (or folder of your choice), name the file: DeletePrefetch.bat and hit OK.

3. Now make a shortcut to that file either on the Desktop or in Programs (do NOT use "Copy"...if you do that, you won't be able to rename it without screwing up the file). When you are ready to clean out the Prefetch, just click on the shortcut and it's done. One click shopping.

Link to post
Share on other sites

when i was a member of techtv c.f.h

leo should us a way to delete the prefetch files

and in your post you dont mention it

he said to do it from the command prompt .

open the command prompt.

type defrag c: -b press enter

have i been doing it wrong all these years.

marty

Link to post
Share on other sites

RE: type defrag c: -b press enter

I'm not one to just type in commands with switches.

Can you tell me what the "-b" does to the defrag command? :unsure:

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...