Function RemoveDir() Foundation
Removes a directory
RemoveDir( <cDirectory> [,<lForce>] ) --> lSuccess
 The return value of RemoveDir() is .T. if the directory could be removed successfully or .F. if not. If .F. is returned the exact error code can be obtained by FError().
The function removes a directory with the specified name. If no path was provided within the specified name the directory to be removed must be a subdirectory of the current directory.
// The example shows various ways how 
// to remove a directory 
PROCEDURE Main 
   ? RemoveDir("C:\MYAPP") 
   ? RemoveDir("subdir") 
   ? RemoveDir(Getenv("TEMP")+"\mytemp") 
   ? RemoveDir('"\\srvgr4\bin\download\latest files"') 
RETURN 
    If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.