Sure, you can use the API version of MakeSureDirectoryPathExists function to satisfy your needs, but here is an alternative way.
Latest File & Folder Articles - Page 5
This is a function to deal with creating complete (multi-level) paths.
This piece of code will delete a folder that isn't empty in Windows NT or Windows 2000.
Single control that contains both an edit control to type in a file name and a button to browse
This class helps you to monitor files. You are notified if a file is modified outside the program.
Function that takes a full path and walks that string creating each folder until all are created
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...
Hannes du Preez shows you how easy it is to implement Geolocation into your Windows 8 /8.1 apps.
AutoMapper is an external component that helps in creating a mapping between a source and destination model types. Read on to learn about the AutoMapper component and how to use it in an Asp.Net MVC application.