Skip to main content

Trying to resize a file but getting error message that file is in use, try again later.

Trying to resize a file but getting error message that file is in use, try again later.

We use Microsoft's Process Explorer for Windows.

See https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer

Posted: 08-07-2023 17:41


Trying to resize a file but getting error message that file is in use, try again later.

Gil,

When I need this information in Windows there are two options I use.

Opton 1 : (My go to one) Use the handle command that is available in the microsoft sys internals process explorer, as the sys internals has lots of extra useful tools. 

Get the sys internals process explorer from https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer

Then from the command line you can use c:Program FilesSysinternalsSuite>handle.exe |findstr /i "file-or-path-in-question"

Or use the menu option Find->Find Handle or DLL... Type in part of the path to the file.

Option 2: Use the built in resmon  (resource monitor) , click on the CPU tab, see the 'Assoicated Handles' frame, type in the file name and the list of processes with the file open should appear.

Regards,