Liberty BASIC Help Online

The RMDIR( ) function attempts to remove the directory specified.  If the directory removal is successful the returned value will be 0.  If the directory removal was unsuccessful, a value indicating a DOS error will be returned.
    'remove a subdirectory named "pigseye" in the current root directory
    result = rmdir( "\pigseye")
    if result <> 0 then notice "Temporary directory not removed!"
Note: See also MKDIR( )

Copyright (C) 2003 Shoptalk Systems
Liberty BASIC -