int main()
{
FILE *fp;

fp = _fopen("a/b/c/d/e/f/g/test.dat", "w");

fclose(fp);
}