getTempPath

getTempPath(): String;

The getTempPath method of the Node class returns a string containing the architecture-specific version of the directory in which temporary files are created on the node of the receiver object. For example, this method returns TEMP or TMP, as appropriate.

The temporary path of the specified node instance is returned, which does not have to be the current node. If you require the temporary path of the current node, use the node environmental object (system variable).

For details about returning the value of a specified environment variable, see the Node class getEnvironmentVariable method.