http://bugs.winehq.org/show_bug.cgi?id=2217
------- Additional Comments From hardon@online.no 2005-04-10 09:02 ------- I dont know if Wine still have this bug. A test for this exist in kernel32 directory winetests (the last test in directory.c:test_CreateDirectoryA/W()):
GetTempPathW(MAX_PATH, tmpdir); lstrcatW(tmpdir, tmp_dir_name); lstrcatW(tmpdir, slashW); lstrcatW(tmpdir, tmp_dir_name); ret = CreateDirectoryW(tmpdir, NULL); ok(ret == FALSE && GetLastError() == ERROR_PATH_NOT_FOUND, "CreateDirectoryW with multiple nonexistent directories in path should fail\n"); ret = RemoveDirectoryW(tmpdir);