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 directory 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