DirRemove

Removes an empty directory.

Syntax:

DirRemove (dir-list)

Parameters:

(s) dir-list a tab delimited list of directory pathnames.

Returns:

(i) @TRUE if the directory was successfully removed; @FALSE if it wasn't.

 

Use this function to delete empty directories. You can delete one or more at a time by separating directory names with tabs. You cannot, however, use wildcards.

This function supports extended-length path names.

 

Examples:
DirRemove("c:\xstuff")
Message("DirRemove","Directory removed")
DirRemove(StrCat("C:\tempdir1",@TAB,"C:\tempdir2",@TAB,"C:\tempdir3"))
See Also:

DirExist, DirMake, DirRename