Mar 8, 2012 at 5:36am
I wanted to create a directory with a specified path but using CreateDirectory api alone didn't help much.
Tried this one but no avail:
1 2 3
|
char *pzPath = "c:\\abc\\def\\ghi";
CreateDirectoryA(path, NULL);
|
Do i need to parse all string for directory and create those path one by one?
Is there an easy way to make a directory tree like use one api only?
Some sample would be nice :)
Last edited on Mar 8, 2012 at 5:36am
Mar 9, 2012 at 3:13am
@Lodger
I basically read SHCreateDirectoryEx api info on msdn and found out it works best
Thanks for both of you guys reply
Last edited on Mar 9, 2012 at 3:14am