Invalid file handle cannot copy
But it gets the point across for the purpose of this story. The hook function was somewhat complicated more time spent trying to reverse-engineer the hook function , but in simplified form, it went something like this:. An injected DLL that patched a system call resulted in Explorer looking like an idiot.
As Alex and Gaurav well know, Explorer is perfectly capable of looking like an idiot without any help. We were quite fortunate that the error manifested itself as a failure to copy the file. Explorer would have happily reported, "Congratulations, your file was copied successfully! The user then deletes the original, thinking that the file was safely at the destination, then later discovers that, oops, looks like the file was not copied after all.
Sorry, it looks like that rogue DLL which I'm sure had the best of intentions had a subtle bug that caused you to lose all your data. If you hook an API, you not only have to emulate all the documented behavior, you also have to emulate all the undocumented behavior that applications unwittingly rely on.
Yes, we contacted the vendor of the rogue DLL. But my guess is that they are going to stick with it. Ask a question. User profile for user: clandtma clandtma. Then i tried manually moving the folders, but got another error 0xB, see below. Any ideas? Thanks, Christoffer.
More Less. Reply I have this question too 75 I have this question too Me too 75 Me too. This issue prevented me to add new files in the folder :- Not all the folders are behaving this way but quite many!
The included screenshot shows the moving issue on one folder. To solve this, I called the Apple service center and we found a solution: we need to move all the folders shared between the Mac and the PC to the root of « iCloud Drive » folder not in « Desktop », « Documents » or « Downloads » subfolders I did this and my issue was solved after logout and delete toon of iCloud Drive folder content and login back again.
Hope it will help you also. View answer in context. All replies Drop Down menu. Loading page content. Apr 29, PM in response to clandtma In response to clandtma Hello, I had the same issue while moving a document into some folders with iCloud Drive on Windows 10 build Reply Helpful Thread reply - more options Link to this Post.
User profile for user: Johnty98 Johnty May 5, PM in response to clandtma In response to clandtma I am having the same problem, I don't think the solution is just to move files to the root, because I am using Cryptomator which creates its own root folder and the problem persist.
I Hope an update solve this issue. User profile for user: zqchqry zqchqry. Report abuse. Details required :. Cancel Submit. DaveM Independent Advisor. Hi Auntie, It seems to be a corrupted file. Have you tried to delete it in Safe Mode? Or try to rename it first before deleting? If that does not work, you can delete that file in Command Prompt, please provide the full path to the file and I will give you the command to delete the file.
How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site.
0コメント