SHFileOperation Error 0x7c << Back



When calling SHFileOperation and it returns the error 0x7c - DE_INVALIDFILES, there is one fringe explanation (even though you know for sure the source and destination paths are valid). If you somehow managed to delete the following registry keys
32 bit
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}]

64 bit
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}]
AND either your source or destination path is in UNC format (\\myserver\folder). Apparently no one on the Internet has run into such problem. Lucky me.





Free Web Hosting