Difference between revisions of "TMPDIR()"

From Lianjapedia
Jump to: navigation, search
Line 22: Line 22:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Revision as of 06:45, 10 December 2012

Purpose

Function to return the current temporary file directory location

Syntax

TMPDIR()

See Also

DB_TMPDIR, SET TMPDIR, SYS()

Description

The TMPDIR() function is used to return the current temporary file directory location. The DB_TMPDIR environment variable sets the location. It can be overriden using the SET TMPDIR command.

Example

? getenv([DB_TMPDIR])
? tmpdir()
set tmpdir to "/usr/tmp/"
? tmpdir()