Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

ForceDirectories

Create a chain of directories.

Declaration

Source position: diskh.inc line 24

function ForceDirectories(

  const Dir: RawByteString

):Boolean;

function ForceDirectories(

  const Dir: UnicodeString

):Boolean;

Description

ForceDirectories tries to create any missing directories in Dir till the whole path in Dir exists. It returns True if Dir already existed or was created successfully. If it failed to create any of the parts, False is returned.


Documentation generated on: Dec 27 2024