ensureDirectoryPathExists()

Synopsis

Ensures that the entire chain of directories to path exists, creating folders as necessary. Returns True if successful.

The precise behavior of this function are defined by the host operating system and file system.

The last item in path is treated as a folder, and is created if it doesn't exist.

Syntax

ensureDirectoryPathExists ( path As String, _
                            Optional ignoreErrors? As Boolean = False ) As Boolean 
Argument Type Description
path String The path which needs to be ensured.
ignoreErrors? Boolean Optional; any errors encountered are ignored if True ; default is False .