| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Create a new directory.
Source position: systemh.inc line 1368
procedure MkDir(  | 
const s: shortstring  | 
); overload;  | 
const s: RawByteString  | 
); overload;  | 
const s: unicodestring  | 
); overload;  | 
Mkdir creates a new directory S.
For an example, see Rmdir.
Depending on the state of the {$I} switch, a runtime error can be generated if there is an error. In the {$I-} state, use IOResult to check for errors.
  | 
Change current working directory.  | 
|
  | 
Remove directory when empty.  |