Does anyone know what’s the .NET/C# equivalent of Delphi’s forceDirectory function ? For who don’t know delphi, forceDirectory creates all the directories in a given path if it doesn’t exist.
Does anyone know what’s the .NET/C# equivalent of Delphi’s forceDirectory function ? For who
Share
The method
Directory.CreateDirectory(path)automatically creates all the directories/subdirectories specified in the path. From the Remarks: