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 Developer VideosMore...
Latest CodeGuru Developer Columns
It's essential to know the differences in these libraries and use them correctly. This brief tutorial will guide you.
Learn how to pass off the delegation of an operation to a different class.
The BitVector structure has many useful properties, and knowing how to make proper use of memory will always improve the performance of your applications.
Here are some guidelines to make implementing load testing easier and more likely to be well received by your team.