dokan-dev / dokan-dotnet

Dokan DotNet Wrapper
http://dokan-dev.github.io
MIT License
462 stars 116 forks source link

How to handle the Remove command from the context menu on a virtual drive? #363

Closed stroev-ao closed 2 days ago

stroev-ao commented 3 days ago

The virtual drive has DokanOptions.RemovableDrive flag.

Liryna commented 2 days ago

Hi @stroev-ao ,

Please see https://github.com/dokan-dev/dokany/commit/21f149784d79daa39aa4be020436c0d53db397a1 comment which might answer your question. Otherwise let me know!

stroev-ao commented 5 hours ago

Hi @stroev-ao ,

Please see https://github.com/dokan-dev/dokany/commit/21f149784d79daa39aa4be020436c0d53db397a1 comment which might answer your question. Otherwise let me know!

Ok, thanks for the answer. I tried adding the NetworkDrive flag - in this case, unmounting from the context menu works, but then the correct disk name is not displayed.