? patch.diff Index: dlls/shell32/shlfileop.c =================================================================== RCS file: /home/wine/wine/dlls/shell32/shlfileop.c,v retrieving revision 1.35 diff -u -r1.35 shlfileop.c --- dlls/shell32/shlfileop.c 5 Jan 2004 21:13:37 -0000 1.35 +++ dlls/shell32/shlfileop.c 23 Jan 2004 21:39:44 -0000 @@ -1172,9 +1172,15 @@ /* singlesource + no mask */ if (-1 == (ToAttr & ToPathAttr)) { - /* Target-dir does not exist, and cannot be created */ - retCode=0x75; - goto shfileop_error; + /* The destination directory for the file doesn't exist, create it. */ + pToFile[0] = '\0'; + if (SHCreateDirectoryExW(NULL,pTempTo, NULL)) + { + // Target-dir does not exist, and cannot be created + retCode=0x75; + goto shfileop_error; + } + pToFile[0] = '\\'; } switch(FuncSwitch)