ForceDirectories

<< Click to Display Table of Contents >>

Navigation:  Handling Events via Scripting > Objects and Functions > File management functions >

ForceDirectories

function ForceDirectories(Path: string): boolean;

 

The ForceDirectories function creates one or more nested directories specified by Path. If the create succeeded, then True is returned, otherwise the function will return False.

 

Parameters

Path

The full path of the directory tree to create. Ex: 'C:\Files\MyDirectory\MySubDir\MyNestedSubDir'

 

Return value

True

The specified directory tree was created successfully

False

Function failed and did not create the specified directory tree