System::GetTempPath

System::GetTempPath will set the end of the file at the specified position.

System::GetTempPath(
:  WString TemporaryPath
);

Parameters

TemporaryPaththe path to the system temporay path.

Return Values

The error.errorCode value will be set to the underlining windows error message code and the error.errorString will have a detailed description of the error.

Remarks

Example Use
  • TScript
main(){
   variable fileHandle;
   System::CreateFile(System::GetTempPath()+u"MyFile.txt",
      System::OPEN_NEW:fileHandle);
}

Since

TScript Version 1.5

Also See

System::CreateFile
Listen All
Comments (0)
Characters left: 2500
 
Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript