Friday

locked file, how to release file in use

To find out which application is using a file in Windows and to release/delete/remove/overwrite file do following:
use processexplorer and search the handles (Menu/Find/Find Handle (Crtls+F))for the file you want.
This way you can easily find which process is having a handle to your file.
Then do right click + 'Close Handle' to release locked file.

1 comment:

mojoala said...

The right click does not exist.

Got any ideas?

here is powershell script on how to get list of files from changesets associated with one tfs task

$dllPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\...