http://www.helponthe.net/news/042000.html
** Periodic Hard Drive Maintenance **
To troubleshoot and avoid: ?Illegal Operations, Invalid Page Faults,
Lockups/Freezeups, the following steps can be used, regardless of the
program (and whetherMicrosoft product or not) that causes the fault.
Use them under Windows 95, 98, or NT. If you use your PC regularly,
take these steps every week or every other week.
1. Close all programs.
2. Hit Start-Find-Files or Folders. In the Named box, type
( or copy & paste ) the following exactly as it appears
(but it is not case-sensitive), and without any spaces:
*.tmp,~*.*
Make sure the Look-In box contains the hard drive from which your
applications run, usually (C:). Make sure the Include Subfolders
checkbox is checked. Hit Find Now.
When the little magnifying glass stops, searching has completed and
you can see how many files were found at the bottom of the dialog box.
If you feel bad about having so many, the author's record on a user's
PC is 6,600, though less than a hundred is typical. On your keyboard,
hold your Ctrl key down and hit the letter "a"; this selects all the
files that were found. Hit your delete key and say Yes when asked if
you want to send all the files to the recycle bin.
If you are asked if you are sure you want to delete a file because it
is a program that you will not be able to run again, or because it is
a read-only file, say Yes. Program files do not start with a squiggly
line (~ it's called a tilde - till-duh), nor do they end with "tmp."
If you are unable to delete some of the files, hit Ctrl-Alt-Delete and
End Task on everything in the list EXCEPT Explorer and Systray.