You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels