11.17.2 EnsureFileDirectoryExists Method

Create all directories in the file path as required.

For example, if the file path is "/home/user/docs/emp101.txt, the EnsureFileDirectoryExists method will checks that all directories in the path (home. users, docs) exist, and create them if they don't exist.

Input Arguments

None

Return Value

None