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
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
There's lot's more hidden under the surface of file functions than might appear at first glance.
Onscreen keyboards are practically everywhere. Now, they can be in your Visual Basic programs as well.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!