tags:

views:

70

answers:

1

Hi All,

Is there a way to find the currently open file from an Excel or Word process? For example, i want to get all the list of running processes in windows and which files they currently have open.

Thanks in advance!

+2  A: 

I am not sure of how to programmaticly do this, but if you are asking in general or looking for a tool to do it Process Explorer can under "View Handles" and look for the type "File". You can also see which program has a specific file open by clicking the binoculars.

Scott Chamberlain
In other words--it's a log of ugly low-level programming if you had to code it yourself.
Russ