Purpose: Deletes a disk directory.

Format:     RMDIR    directory name

Notes:      Use this statement to delete an existing disk directory.  The directory to be deleted is specified by   directory name.   If the directory cannot be deleted  (i.e. the directory is not empty) then an error will occur.


input $folder “Enter a folder to delete”
rmdir $folder
pause “dir: “ $folder “ deleted”


See Also:  MKDIR    DELETE