DOCUMENT:Q131944 01-JAN-2001 [homemisc] TITLE :Windows 95/98: How to Delete Temporary Files PRODUCT :Microsoft Home Miscellaneous Products PROD/VER:WINDOWS:95 OPER/SYS: KEYWORDS:kbenv kbimu ====================================================================== ------------------------------------------------------------------------------- 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 2001.