Language:
Русский
English
RmDir (procedure)
Removes an empty subdirectory.
Declaration
procedure RmDir(S: String);
Target
Windows, Real, Protected
Remarks
Removes the subdirectory with the path specified by S. If the path does not exist, is non-empty, or is the currently logged directory, an I/O error occurs.
With {$I-}, IOResult returns 0 if the operation was successful; otherwise, it returns a nonzero error code.