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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.