Extensions.File.CreateTempDirectory
Jump to navigation
Jump to search
Contents
Classification
Name | CreateTempDirectory |
Short Description | Creates a new unique temporary directory |
Class | Term |
Extension | OTX File extension |
Group | File related Terms |
Exceptions | FileSaveException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm File.CreateTempDirectory();
Description
The CreateTempDirectory activity creates a new unique temporary directory and returns the URI of the path, which is either absolute or relative to OTX home. The OTX runtime environment has to deliver such directory and has to ensure that the user has read and write access to the content of that directory. After finishing the execution of the OTX runtime, the temporary directory will be deleted automatically with all its contents.
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | The URI of the path of the new unique temporary directory |
Properties
- NONE
OTL Examples
/// Local Declarations
String String1 = "";
/// Flow
String1 = File.CreateTempDirectory();
See also
GetFilePath
GetFilesFromDirectory
GetFileSize
IsDirectory
IsEndOfFileReached
IsFile
OpenFileForRead
OpenFileForWrite
ReadBytes
ReadFile
ReadLine