Ta --
[Jongware]
There is a shell utility function that does what you want.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
That might be SHCreateDirectoryEx, as in:
#define WINVER 0x0500
#include <windows.h>
#include <shlobj.h>
int main()
{
SHCreateDirectoryEx(0, "c:\\nnn\\nnn\\nnn\\mmm", 0);
}
--
Absolutely not the best homepage on the net:
http://home20.inet.tele.dk/midgaard
But it's mine - Bertel
Also:
MakeSureDirectoryPathExists
--
James
www.catch22.net
Free Win32 Tutorials and Sourcecode
Thanks, guys -- I was *pretty* sure it was somewhere in the MSDN. Not under
the heading "CreateDirectory", though. What was I thinking!?
[jw]