RemoveDirectoryΒΆ

RemoveDirectory deletes an existing directory. The directory must be empty, and it must not be the current working directory or the root directory.

bool = RemoveDirectory(ssDirName)
bool = RemoveDirectory(ssDirName, bRecurse)

Return Value

bool is TRUE (1) if the copy could be created, otherwise FALSE (0).

Parameters

ssDirName

ssFileName is the complete directory name.

bRecurse

bRecurse if used and set to 1, the full directory is removed along with its content.

id-410192