Is there a way to copy the file paths of ALL active windows' opened files?

Posted by frenchglen on Super User See other posts from Super User or by frenchglen
Published on 2012-03-21T05:10:46Z Indexed on 2012/03/21 5:33 UTC
Read the original article Hit count: 471

Filed under:
|
|

The context of this question, is here.

I actually know the answer to my question is yes - like I say in my context, this program can do it (somehow).

So the really question is, how can I do it. What code do I put in a simple batch file? (or do I have to compile a tiny c++ exe? and run that exe in the batch file?)

Might this code be a solution? (.....EnumDesktopWindows?)

To clarify, I know that there's e.g. NirSoft OpenedFilesView which shows allll the technically-opened files in Windows, but it's just the 'visible' user-opened ones that I'm after (whatever you can see in Task Manager's Applications tab).

Thanks.

© Super User or respective owner

Related posts about Windows

Related posts about command-line