Next: Disabling Command Line Argument Expansion, Previous: CONSOLE and WINDOWS subsystems, Up: Microsoft Windows Topics [Contents][Index]
It is possible to control where temporary files gets created by setting
the
TMP
environment variable. The file will be created:
TMP
environment variable if
this directory exists.
c:\temp
, if the
TMP
environment variable is not
set (or not pointing to a directory) and if this directory exists.
This allows you to determine exactly where the temporary file will be created. This is particularly useful in networked environments where you may not have write access to some directories.