f$CreateDirectory
f$CreateDirectory
Create a directory. The complete path must be entered. The directory structure above the directory being created must already exist.
Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").
Syntax: | Status = f$CreateDirectory( Directory ) | ||
| Argument | Type | Meaning |
| Directory | String | Name of the directory to be created. The complete path must be entered. |
Result: | Integer | 0: directory was created successfully, -1: directory was not created, 1: Directory already exists | |
Example: | Status = f$CreateDirectory('c:\\temp\\one\\two') | ||