Hello All, I'm trying to come up with a way to pass that mkdir fuction a path name (like /foo/bar/path/to/dir)
Now i know that if the directory /foo/bar/path/to exists, and i can write to it, then the directory i pass to mkdir will be made
However, if the directory is not there (perhaps none of the /foo tree is there, or only /foo/bar/path exits) the function fails.
Is there anyway to step though the pathname and create each part of the path if it doesn't exist?