DirectoryHelperEnsureDiskPath Method |
Checks if all folders of the given path exist and if not, it creates them.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 9.0.0
Syntax public static void EnsureDiskPath(
string path,
string startingPath
)
Parameters
- path
- Type: SystemString
Full disk path of the file including file name - startingPath
- Type: SystemString
Starting path (subset of file path) that will not be checked
See Also