int makdir(UCHAR *path, UCHAR *tmp) { UCHAR *p, *t = tmp; for (p = path; *p != '\0'; *t++ = *p++); *t = '\0'; for (t = tmp; *t != '\0'; t++) { if (*t == '/') *t = '\\'; } return ! CreateDirectory(tmp, NULL); }