Sometimes you cannot delete a file that is used by some other process in Windows. Error can be something like "sharing violation".
Is there any way to determine which process is holding a file?
Is there any utility that can do that (I can use utility call in a program) or is there any other way to get that information?