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

ForceDirectories

Create a chain of directories

Declaration

Source position: diskh.inc line 23

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: May 14 2021