KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q31547: Environment Variables Used by the Microsoft Editor

Article: Q31547
Product(s): See article
Version(s): 1.00
Operating System(s): OS/2
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 16-JUN-1988

The Microsoft Editor uses the following environment variables:

   1. TMP: This directory stores all temporary files.
   2. INIT: This directory stores the TOOLS.INI, M.TMP, and temporary
files if TMP is not set.

   Please note, if neither environment variable is set, all temporary
files except M.TMP are written to the root directory of the disk being
used. M.TMP is written to the current directory.
   The environment variables usually are set in the AUTOEXEC.BAT file.
For example the following lines can be placed in the AUTOEXEC.BAT
file:

    SET INIT=c:\init
    SET TMP=c:\temp

   Also, if the TMP environment variable ends with a semicolon, the
temporary files (i.e., swapping files) will not be created. The editor
will try to use the semicolon in the name of the file that is created.

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.