>>>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.phpand let me try google search.
If it's not broken, fix it until it is.
My Blog