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.
The method Directory.CreateDirectory(path)
automatically creates all the directories/subdirectories specified in the path. From the Remarks:
Any and all directories specified in path are created
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With