>>>>Sometimes when you try to delete a file, for example in the temporary directory, you get a message that is being used by a program. Is there anyway to find out which program has a lock on a file?
>>>>
>>>>TIA,
>>>>
>>>>Alex
>>>
>>>Try
Who opened what files on the network? (modified to use only VFP code) FAQ #7896 though there is no guarantee.
>>
>>Thank you Naomi, very cool. Is there a way to find out interactively at the Windows level?
>>
>>Alex
>
>I believe there is a way, but I'm not sure exactly. Just in case I searched here (in Windows & VFP forum), but the best I could find is to use NET FILE command.
>
>May be something like FileMon would be helpful here.
>
>I guess I now need to use google search.
>
>Unfortunately here is a different program used for search (not google).
>
>Anyway, here is one link
>
http://lifehacker.com/software/notag/delete-a-locked-file-in-windows-266433.php>
>and let me try google search.
Thank you Naomi. I couldn't figure out how to unlock file with FileMon. Your refeerence led me tho Unlocker
http://ccollomb.free.fr/unlocker/#download which did the trick.
Alex