I'm creating a directory with:
Code:
	  temp.Format("%s\\%d",path,p);
	  CreateDirectory(temp,NULL);
and I'd like to check to see if the create failed, but it fails if the directory exists, so I'd like to check if it exists forst, then try to create & check for fail.

How would I do that? (or is there a better way to do it?)