KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q34251: C.TMP Files in Current Directory

Article: Q34251
Product(s): See article
Version(s): 1.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 2-SEP-1988

Question:

Every time I edit a file with the Microsoft Editor, I receive a C.TMP
file in that directory. I am using DOS Version 2.10. Why is it
creating this file?

Response:

The C.TMP file is where the editor keeps its information about
previous files that have been edited. This file normally is called
M.TMP; however, due to a limitation of DOS Versions 2.x, the editor
believes its name is C rather than M.

The files are placed in the directory where the file was edited
because unless the INIT environment variable is set, the .TMP file is
written to the current directory.

When using M on DOS Versions 2.x, change the tag field of the TOOLS.INI
from [M] to [C] and set the INIT environment variable to the directory
that contains TOOLS.INI.

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.