In Windows system context the location is %TEMP% which resolves to C:\Windows\temp by default, and when running TIMS in user context (default) then %TEMP% resolves to C:\Users\<user>\AppData\Local\Temp.
In macOS and *nix OS the location is /tmp.
This writes some text to a temporary file and reads it, deleting the file when it is no longer needed.
The created file is not automatically deleted. As the example shows, an instruction using this method is responsible for deleting the file when it is no longer needed.
The method can be called multiple times in an instruction and each time a file with a unique path is created. However, once the file has been deleted its name is available for re-use.
The OS temporary files location on Windows OS should not be confused with the 1E Client TemporaryDirectory setting (available in v5.1 onwards) which is %ALLUSERSPROFILE%\1E\Client\Temp by is %windir%\Temp by default.