Note: Computers create temporary (*.TMP) files to increase processing speed. Temporary files are safe to delete. If a program still needs a temporary file, it will not allow the file to be deleted. Close all programs before deleting temporary files. 

To delete temporary files manually: 

Windows 98/NT

  1. Click Start, Find, Files or Folders. 
  2. In the Search line, enter *.TMP. 
  3. Select Local Harddrives in the Look in line. 
  4. Click Find Now. 
  5. Highlight all the files found. 
  6. Press the Delete key on the keyboard. 

Windows 2000/XP

  1. Click Start, Search, For Files or Folders. 
  2. In the Search line, enter *.TMP. 
  3. Select Local Harddrives in the Look in line. 
  4. Click Search Now. 
  5. Highlight all the files found. 
  6. Press the Delete key on the keyboard. 

Windows 7

  1. Click Start, Run.
  2. Type %temp% and click OK to see the list of temporary files that can be deleted.
  3. Select all of the files and press the Delete key to delete them.

To delete temporary files automatically with a batch file: 

Windows NT/2000/XP

  1. Click Start and select Programs, Accessories, Notepad. 
  2. Enter the following commands exactly as shown below:
    c:\
    cd c:\
    del *.tmp /s\
    
    
    Note: If your temp directory is somewhere other than C:\WINDOWS\TEMP, substitute the appropriate path in the example above. Contact your system administrator or help desk if you are not sure.
     
  3. Select File, Save from the menu bar. 
  4. Name and save the file with a .BAT extension (e.g. DELTEMP.BAT). 
  5. Save this file in a folder on the desktop. 
  6. An icon appears on the desktop. 
  7. Double-click the icon to delete your temp files. 
  8. The batch file deletes any files with a .TMP extension on C:\. 

Windows 7

  1. Click Start and select Programs, Accessories, Notepad. 
  2. Enter the following command exactly as shown below:
    cd C:\Users\%username%\AppData\Local rmdir /S /Q Temp
  3. Select File, Save from the menu bar. 
  4. Name and save the file with a .BAT extension (e.g. cleantemp.bat). 
  5. Double-click the file to delete your temp files. 

Windows 98

  1. Click Start, Programs, Accessories, Notepad. 
  2. Enter the following commands exactly as shown below:
    c:\
    cd c:\windows\temp
    del *.tmp\
    
    Note: If your temp directory is somewhere other than C:\WINDOWS\TEMP, substitute the appropriate path in the example above. Contact your system administrator or help desk if you are not sure.
     
  3. Select File, Save from the menu bar. 
  4. Name and save the file with a .BAT extension (e.g. DELTEMP.BAT). 
  5. Save this file in a folder on the desktop. 
  6. An icon appears on the desktop. 
  7. Double-click the icon to delete your temp files. 
  8. The batch file deletes any files with a .TMP extension on C:\.