Sure, you can use the API version of MakeSureDirectoryPathExists function to satisfy your needs, but here is an alternative way.
Latest Folder/Directory Maintenance Articles - Page 2
This piece of code will delete a folder that isn't empty in Windows NT or Windows 2000.
Function that takes a full path and walks that string creating each folder until all are created
Useful Win32 API-based function that deletes all folders and files within a specified folder
Single function to create multiple levels of folders
Latest CodeGuru Developer Columns
Learn to implement exception handling mechanism in C++.
Bots are rapidly replacing the older technologies. Read through and become proficient with Bing Bots.
Learn about Scope, Modules, and Accessibility Modifiers in Visual Basic.
When building Virtual Reality user experience (VR UX), here are seven tips you should consider.