REMOVEDIR

Top  Previous  Next

Syntax

INT = REMOVEDIR(path as STRING)

Description

Removes a directory

Parameters

path - Full path to directory to be removed

Return value

0 on failure or greater than 0 if successful

Remarks

Directory must be empty before it can be removed. The path should not contain a trailing slash.

See Also: CREATEDIR, DELETEFILE

Example usage

REMOVEDIR "c:\\myfiles\\temp"