AIT_DirRemove

Description

Removes an existing directory.

Format

bool AIT_DirRemove  (
 string strDirName    // Directory name
);

Parameters

strDirName (input)

Specify a directory name.

Return values

The return value is true if the function was executed normally, and false if not.

If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError might return:

Extended error numberError code
16ERROR_CURRENT_DIRECTORY
87ERROR_INVALID_PARAMETER