I was writing a custom installation script and needed to create many sub
directories. I looked at Brad Gutilla's article and thought that there had
to be a simpler method. Recursion steps in and saves the day. Not much to
say about the code, as it is pretty simple and easy to follow.
void CreateAllDirectories(CString strDir)
int nFound = strDir.ReverseFind('\\');