TMP: Temporary directory

Tools

Compiler, Assembler, Linker, Debugger, or Librarian

Syntax
  TMP=<directory>
  
  
Arguments

<directory>: Directory to be used for temporary files

Description

If a temporary file has to be created, normally the ANSI function tmpnam() is used. This library function stores the temporary files created in the directory specified by this environment variable. If the variable is empty or does not exist, the current directory is used. Check this variable if you get an error message Cannot create temporary file.

Note: TMP is an environment variable on the system level (global environment variable). It CANNOT be specified in a default environment file (default .env or .hidefaults).
Example
  TMP=C:\TEMP
  
  
See also

Current directory section