Microsoft KB Archive/131944

{|
 * width="100%"|

Windows 95/98: How to Delete Temporary Files

 * }

Q131944

-

The information in this article applies to:


 * Microsoft Windows 95
 * Microsoft Windows 98

-

SUMMARY
This article describes how to delete temporary (.Tmp) files in Windows 95/98.

MORE INFORMATION
To remove temporary files, do the following:

 Click the Start button and then click Shut Down. Click "Restart the Computer in MS-DOS Mode?" Click Yes.  At the MS-DOS command prompt, type the following and press ENTER: "set" Locate the Temp= line and note the location of the TEMP variable.   Change to the directory noted in step 2. For example, if TEMP is set to C:\Windows\Temp, type the following at the MS-DOS command prompt and press ENTER: "cd\windows\temp"  Delete any temporary files in this directory. Temporary files typically have a .Tmp extension. To delete these files, type the following, then press ENTER: "del *.tmp" Type exit and press ENTER to restart Windows 95/98.

NOTE: You should never delete .Tmp files from within the Windows 95 graphical user interface because Windows 95 or a Windows-based application may be using one of these files.

Additional query words: kbhowto Win95 1995 temp temporary delete

Keywords : kbenv kbimu

Issue type : kbhowto

Technology : kbWin95search kbWin98search kbWin95 kbWin98