Path sent to createFile by Windows is "\desktop.ini" when opening a fake file #1147
Unanswered
Thomas-Giaroli
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @Thomas-Giaroli , It is normal to get a Create for "\desktop.ini" request. Explorer is just doing it to see if there is one. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i've been trying my hand on dokan-dotnet and i can't get rid of a problem i have with my implementation.
I've been trying to create a program with Dokan-dotnet that can accomplish these few steps :
I had no problems until i've reached step 3, i don't know why but it seems like i only get "\desktop.ini" sent to createFile instead of "exemple.txt", and this no matter what happens, it's the same thing when i open my mounted disk :R, and that's problematic cause i can't get my program to have the behavior i expect, since i never have the good filename.
You can find below my implementation of the FindFiles and ReadFile functions (FindFiles is used to create the "fake file" exemple.txt and readFile is where fileName is "\desktop.ini" instead of "\exemple.txt") :
FindFiles:
ReadFile :
I'm already sorry if this not in any way related to Dokan-dotnet, I am currently learning C# and Dokan-dotnet simulteanously, and it's my first time ever developping anything on Windows.
Please let me know if any more information is needed, i really need to get this to work and i'll be more than grateful for any help.
Thanks already!
Beta Was this translation helpful? Give feedback.
All reactions