MkDir (procedure)

Language:
Русский
English

 MkDir (procedure)


Creates a subdirectory.

Declaration

 procedure MkDir(S: String);

Target

Windows, Real, Protected

Remarks

Creates a new subdirectory with the path specified by string S. The last item in the path cannot be an existing file name.

With {$I-}, IOResult returns 0 if the operation was successful; otherwise, it returns a nonzero error code. CreateDir performs the same function as MkDir, but it takes a null-terminated string rather than a Pascal-style string.

See Also

Sample Code

Тэги: MkDir
| G+
Код для вставки: :: :: :: ::
Поделиться: // //