Difference between revisions of "SET TMPDIR"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[ | + | [[SET TMPNAMPATH]], [[SYS()]], [[TMPDIR()]] |
==Description== | ==Description== | ||
− | The SET TMPDIR command is used to specify the path to be used by the SYS(3) temporary file name function. The SET TMPDIR command can temporarily override the | + | The SET TMPDIR command is used to specify the path to be used by the SYS(3) temporary file name function. The SET TMPDIR command can temporarily override the default temporary directory setting. Unless SET TMPNAMPATH is OFF (default ON), the return value of SYS(3) will include this path information. Please note that the <expC> should include a trailing directory separator. |
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | set tmpdir to " | + | set tmpdir to "C:\Temp\" |
? sys(3) | ? sys(3) | ||
− | + | C:\Temp\000cf30006 | |
</code> | </code> | ||
Latest revision as of 10:00, 3 January 2013
Contents
Purpose
To specify the path to be used by the SYS(3) temporary file name function
Syntax
SET TMPDIR TO <expC>
See Also
SET TMPNAMPATH, SYS(), TMPDIR()
Description
The SET TMPDIR command is used to specify the path to be used by the SYS(3) temporary file name function. The SET TMPDIR command can temporarily override the default temporary directory setting. Unless SET TMPNAMPATH is OFF (default ON), the return value of SYS(3) will include this path information. Please note that the <expC> should include a trailing directory separator.
Example
set tmpdir to "C:\Temp\" ? sys(3) C:\Temp\000cf30006