You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Returns the current user's temporary directory.

Syntax

TempPath = SRP_Path("GetTempPath")

Returns

The current user's temporary directory.

Remarks

Added in 2.2.6

The GetTempPath returns the temporary directory Windows has assigned to the current user. This is the same director you would get when typing %TEMP% into Windows Explorer.

Example

TempPath = SRP_Path("GetTempPath")
OSWrite "Hello, World!" to TempPath:"\hello.txt" then NULL

See Also

GetTempFilename

  • No labels