Description
This function provides methods for manipulating operating system directories.
Syntax
retVal = RTI_OS_Directory( method, directory, <param1>, <param2>, <param3> )
Parameters
The function has the following parameters:
Parameter | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method: | A command to be executed against a directory.
| ||||||||||||||||||||||||||||||
directory: | The directory to be acted upon. The path may be a mapped drive or a UNC path. | ||||||||||||||||||||||||||||||
param1: | <Optional>Method dependent parameter. | ||||||||||||||||||||||||||||||
param2: | <Optional>Method dependent parameter. | ||||||||||||||||||||||||||||||
param3: | <Optional>Method dependent parameter. |
Returns
Method dependent return value. All boolean return values are TRUE if successful and FALSE is unsuccessful.
Remarks
When returning directories, the program does NOT append a trailing backslash (\).
See Also
DIR function, Drive function, InitDir statement, SetInitDirListOptions routine