Skip to main content
Skip table of contents

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')
Create the directory "two" in the directory c:\temp\eins
Note: if c:\temp\one does not exist, "two" cannot be created.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.