Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC

Function file-make-path

file-make-path [path ...]

Creates a directory and every missing parent directory.

Parameters:
path - String representing the path name of the directory to create.
Returns:
True if all the directories specified as arguments were successfully created or already existed. False otherwise.

You can think of the file-make-path function as a sort of recursive file-mkdir. It creates every parent directory of path if they do not yet exist and then the directory identified by path itself.

The creation of a directory may fail due to lack of permissions by the user running the process or because the path root directory may not exist. This last case will only happen in a windows environment as the unix the root directory of a path always exists (it is "/").


Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009