开发者

Get current open filename from Windows Process using C#

Is there a way to find the 开发者_C百科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!


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜