qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RmDir Procedure
  Summary Details Example                                   Back
 
  Argument
 
    path    String expression representing the directory to be deleted
 
  Description
 
    The RmDir procedure removes a specified directory from a disk.
    RmDir works the same as the DOS command RMDIR or RD. The
    directory must be empty.
 
    The path argument may be any legal DOS path and include the
    shorthand directory notation '.' and '..'.
 
    An I/O error occurs if the directory is not empty, does not exist,
    or is the current directory.
 
    To prevent a program from halting with a run-time error when an I/O
    error occurs, turn off I/O checking with {$I-} and check the return
    value of the IOResult function.