fmkdir
- creates (makes) a directory

File Input/Output functions
(AmiBroker 4.70)


SYNTAX fmkdir( ''dirname'' )
RETURNS NUMBER
FUNCTION Creates (makes) a directory.

"dirname" specifies path of the directory to be created. Please note that this function creates only ONE directory at a time. So if you want to create nested directory tree you have to call it multiple times, for example to create C:MyDirectoryMySubDirectory folder you have to call it twice:

fmkdir( "C:\\MyDirectory" );
fmkdir( "C:\\MyDirectory\\MySubDirectory" );

Note also that it is safe to call it even if directory already exists (then no change to file system is applied)

Returns TRUE if directory successfully created, FALSE otherwise

EXAMPLE
SEE ALSO

References:

The fmkdir function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.