KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q131944: Windows 95/98: How to Delete Temporary Files

Article: Q131944
Product(s): Microsoft Home Miscellaneous Products
Version(s): WINDOWS:95
Operating System(s): 
Keyword(s): kbenv kbimu
Last Modified: 01-JAN-2001

-------------------------------------------------------------------------------
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:

1. Click the Start button and then click Shut Down. Click "Restart the Computer
  in MS-DOS Mode?" Click Yes.

2. At the MS-DOS command prompt, type the following and press ENTER:

  " set " (without the quotation marks)

  Locate the Temp= line and note the location of the TEMP variable.

3. 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 " (without the quotation marks)

4. 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 " (without the quotation marks)

5. Type "exit" (without the quotation marks) 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 
Technology        : kbWin95search kbWin98search kbZNotKeyword3 kbWin98
Version           : WINDOWS:95
Issue type        : kbhowto

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.