How to know which program is accessing a perticular file

Status
Not open for further replies.

pd

Full Member level 1
Joined
May 23, 2006
Messages
99
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Location
India
Activity points
2,243
Hi!
I have many times faced this problem in Windows....
The file is accessed by another program....Can not be removed...
Even while safely removing the pendrive I face the same problem many times...
I always wonder which program accesses the file...
Is there any easy way by which we can know exactly which program is using a certain file?
Thanks in advance...
-pd
 

Re: How to know which program is accessing a perticular fil

Hi
A software I think its name was TaskInfo can do that.
Good luck
 

Also try browsing the wonderful little utilities at Windows Sysinternals:
https://technet.microsoft.com/en-us/sysinternals/default.aspx
Maybe FileMon (under "File and Disk Utilities"), or Process Explorer (under "Process Utilities").


Another possibility, I read this message somewhere, but haven't tried it:

You can also install the windows support tools from the XP CD and run oh command

oh -t file

will list all open files and what program has them open.
 

Re: How to know which program is accessing a perticular fil

My favorite app for this is "unlocker". It's free, and you can find it here:
**broken link removed**
It integrates nicely into the explorer, allowing you to right click on the file to find out which app has locked it and to unlock it as well.
 

    pd

    Points: 2
    Helpful Answer Positive Rating
Re: How to know which program is accessing a perticular fil

THERE ARE MAY BE MALWARE IN YOU DRIVERS INCLUDING PEN DRIVES.
USE PROPER VIRUS+SPYWARE GUARD SUCH AS ..TON OR ...32.

WHEN IT HAPPEND AGAIN GO TO TASK MANAGER AND END TASKS THE SUSPPECIES FILE PROCESS TAB
 

Re: How to know which program is accessing a perticular fil

Borland Delphi's winsight tool can exactly say what you need. it also shows which windows or handles are activated.
 

Yes Process Explorer is a must, you can see all kinds of information, search and close open handles, its a swiss knife of process monitoring .
One little tip, if you have a file you cant delete open a command window in that folder, then go to process explorer and close the handle, then delete it using the command line, worked every time for me.
 

Re: How to know which program is accessing a perticular fil

How can i find the process-explorer?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…