createDirHier
createDirHier(t_pathName) =>t / nil
Description
Creates all directories specified in the given SKILL path that do not already exist
The permissions associated with new directories are subject to the file creation mask on systems supporting that concept. If the directory with the specified name already exists, nil is returned. The directory names in the given SKILL path can be specified with either absolute or relative; the SKILL path is used in the latter case.
A path that is anchored to the current directory, for example, ./, ../, or ../../.., etc., is not considered as a relative path.
Arguments
|
Specifies a (hierarchical) SKILL path consisting of all the directories that need to be created. |
Value Returned
Examples
The following example creates the directories /dir1/dir2/ as specified in the given SKILL path.
Return to top