CBL_DELETE_DIR deletes the indicated directory. The directory is deleted only if it is empty. You may use remote name syntax in combination with AcuServer to delete a directory on a remote machine.
CALL "CBL_DELETE_DIR" 
    USING PATH-NAME,
    GIVING STATUS
               	 | PATH-NAME PIC X(n) | Contains the relative or absolute path name, terminated by space or NULL. The "@[DISPLAY]:" for Thin Client support is allowed. For example: CBL_DELETE_DIR "@[DISPLAY]:C:\path" See CBL_COPY_FILE for more information. | 
| STATUS Any numeric type | Returns 0 if successful, or 1 if not. | 
The behavior of this routine is affected by the FILENAME_SPACES configuration variable. The value of FILENAME_SPACES determines whether spaces are allowed in a file name. See the entry for FILENAME_SPACES in Appendix H for more information.