I cannot delete empty directory, I would like to know why. That directory did contain movie that was being played by my custom player and it might somehow be still blocking the directory. however it is closed and not visible in process list under ctrl+alt+delete.
I have installed Process Monitor and when I from console execute
rmdir directory
it says it cannot be deleted and PM says
Operation: CreateFile
Result: SHARING VIOLATION
Desired Access: Read Attributes, Delete, Synchronize
Disposition: Open
Options: Directory, Synchronous IO Non-Alert, Open Reparse Point
Attributes: n/a
ShareMode: Read, Write, Delete
AllocationSize: n/a
what can I do to discover why I cannot delete that dir and how to delete it?
P.S. I know I will be able to delete it after restaring computer, but that I would like to know why my player is blocking that directory.