mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
sorry createDirectoryExW fails to create folder why ? change back to CreateDirectoryW sorry
svn path=/trunk/; revision=18156
This commit is contained in:
parent
f16bc096ac
commit
0feb129c9e
1 changed files with 4 additions and 2 deletions
|
@ -346,7 +346,8 @@ MoveFileWithProgressW (
|
||||||
*/
|
*/
|
||||||
RemoveReadOnlyAttributeW(lpExistingFileName);
|
RemoveReadOnlyAttributeW(lpExistingFileName);
|
||||||
RemoveReadOnlyAttributeW(lpNewFileName);
|
RemoveReadOnlyAttributeW(lpNewFileName);
|
||||||
CreateDirectoryExW(lpExistingFileName,lpNewFileName,NULL);
|
//CreateDirectoryExW(lpExistingFileName,lpNewFileName,NULL);
|
||||||
|
CreateDirectoryW(lpNewFileName, NULL);
|
||||||
|
|
||||||
/* search the files/folders and move them */
|
/* search the files/folders and move them */
|
||||||
while (loop==TRUE)
|
while (loop==TRUE)
|
||||||
|
@ -479,7 +480,8 @@ MoveFileWithProgressW (
|
||||||
RemoveReadOnlyAttributeW(lpDeleteFile);
|
RemoveReadOnlyAttributeW(lpDeleteFile);
|
||||||
RemoveReadOnlyAttributeW(lpNewFileName2);
|
RemoveReadOnlyAttributeW(lpNewFileName2);
|
||||||
|
|
||||||
CreateDirectoryExW(lpDeleteFile, lpNewFileName2,NULL);
|
CreateDirectoryW(lpNewFileName2,NULL);
|
||||||
|
//CreateDirectoryExW(lpDeleteFile, lpNewFileName2,NULL);
|
||||||
|
|
||||||
|
|
||||||
/* set new search path from src string */
|
/* set new search path from src string */
|
||||||
|
|
Loading…
Reference in a new issue