help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

mkdir

Create a new directory.

Declaration

Source position: systemh.inc line 678

procedure mkdir(

  const s: String

);

Description

Mkdir creates a new directory S.

For an example, see Rmdir.

Errors

Depending on the state of the \var{\{\$I\}} switch, a runtime error can be generated if there is an error. In the \var{\{\$I-\}} state, use IOResult to check for errors.

See also

Chdir

  

Change current working directory.

Rmdir

  

Remove directory when empty.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505