SET TMPNAMPATH
From Lianjapedia
Contents
Purpose
Determines whether the full path is included for temporary file name functions
Syntax
SET TMPNAMPATH ON | OFF | (<expL>)
See Also
GETENV(), GETGID(), GETUID(), GETPID(), RAND(), SET TMPDIR, SYS(), TMPDIR(), TMPNAM()
Description
The SET TMPNAMPATH command determines whether the full path is included for the temporary file name functions TMPNAM() and SYS(3). If SET TMPNAMPATH is ON (default), SYS(3) and TMPNAM() will return filenames including the full path. If SET TMPNAMPATH is OFF, only the base filename will be returned. Note: unique filenames cannot be guaranteed if SET TMPNAMPATH is OFF.
Example
? tmpnam() C:\Users\Me\AppData\Local\Temp\_00000a7a0001.tmp set tmpnampath off ? tmpnam() _00000a7a0002.tmp