Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Name of the process owner of an open file?

HackmanCHackmanC Member Posts: 441
How can I (in Windows) get the name of the process owner of an "shared read-only" open file ?

I have a file opened by another application; I need to know the name (or anything) of the application which has opened the file; and if it is shared read-only.

Thanks in advance,

Comments

  • Avinash.VAvinash.V Member Posts: 11
    : How can I (in Windows) get the name of the process owner of an
    : "shared read-only" open file ?
    :
    : I have a file opened by another application; I need to know the name
    : (or anything) of the application which has opened the file; and if
    : it is shared read-only.
    :
    : Thanks in advance,
    :

    i hope what u mean is about knowing which program is opening the specified file during runtime.if so i can help u

    method 1. look for the registry hkey class root for determining the default application(path) which handles the specified extention.

    method2. look for the interrupt address for the handle of the application which has currently running.(short cut)actually very risky(may affect the program)but the best method.




Sign In or Register to comment.