Determine which process (b)locks a file, programmatically (under Windows >= XP)
28992
How do I find out which process is locking a file using .NET?
119246
How can a Java program get its own process ID?
16481
How to use flock and file descriptors to lock a file and write to the locked file?
76437
How find out which process is using a file in Linux?
32007
How do I programmatically determine operating system in Java?
87988
Lock file and release it
155040
How do I delete files that are locked when no other app can delete them?
65209
How do I check OS with a preprocessor directive?
138051
How to kill processes by name? (Win32 API)
28366
Is there a way of getting the process id of my C++ application?
156540
preventing an exe file from closing
18095
how can you easily check if access is denied for a file in .NET?
106594
How can we check if a file Exists or not using Win32 program?
133325
How do I determine which application handles a global shortcut?
97012
File is used by another process. How to know which process?
117797
C# - get Windows association for a random file
111065
How to avoid race condition when using a lock-file to avoid two instances of a script running simultaneously?