frmdir
- removes a directory

File Input/Output functions
(AmiBroker 4.70)


SYNTAX frmdir(''dirname'')
RETURNS NUMBER
FUNCTION This function removes a directory

"dirname" specifies path of the directory to be removed. Please note that this function removes only ONE directory at a time. So if you want to remove nested directory tree you have to call it multiple times, for example:

frmdir( "C:\\MyDirectory\\MySubDirectory" ); // delete nested subdir first
frmdir( "C:\\MyDirectory" );

Note that directory must be empty before removing it otherwise it will not be possible to remove it.

Returns TRUE if directory successfully removed, FALSE otherwise

EXAMPLE
SEE ALSO

References:

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

More information:

See updated/extended version on-line.