RMDIR( )

Description:

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.

Usage:

  '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( )