views:

28

answers:

2

How to get list of files that a program is working with? For example, if a program is downloading something, how can I know what and where that file is while downloading?

+3  A: 

If you're trying to get this information programmatically, I don't know how to do it. If you are debugging something and want to follow what is going on, check out sysinternals.

André Caron
Is it available in windows 7? And yes, i'm trying to achive this programmatically...
Dr TJ
Yes, sysinternals covers pretty much all versions since Windows NT, but it isn't Open Source, so I don't know how to achieve it does.
André Caron
Sysinternals is the way to go. You need Filemon - although I think it's been merged now into a generalised system monitor?
Blank Xavier
+1  A: 

Use a debugger, OllyDbg is a good one: http://www.ollydbg.de/ For the network activity, use a packet sniffer: Wireshark - http://www.wireshark.org/

Ruel