TheCommonUtils..::..CreateDirectories Method (String)
Creates nested folder hierarchy for a file being created.
Namespace:
nsCDEngine.BaseClassesAssembly: C-DEngine (in C-DEngine.dll)
Remarks
C#
// Create "Data" folder // Create "Data/Current" (or Data\Current) folder // In preparation for creating file "today.dat" char sep = Path.DirectorySeparatorChar; string strDataFile = strDataRoot + sep + "Data" + sep + "Current" + sep + "today.dat"; CreateDirectories(strDataFile);