Sign in Join
FPDoc Onlineexperiment

MkDir procedure

In unit System

Create a new directory.

Declaration

pascal
procedure MkDir(const s: shortstring); overload

Description

Mkdir creates a new directory S.

For an example, see Rmdir.

Errors

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.