What's a good tool/method to find which files on disk have been changed after a program has been run?

StackOverflow https://stackoverflow.com/questions/254172

Question

I'm experiencing a strange issue where my Visual Studio 2005 C++ program crashes the first time it runs after a new build. I'm having a difficult time debugging this intermittent issue and I suspect it's somehow related to a file somewhere on my hard drive that is being changed. If I can find the file(s), that might provide some more insight into this issue. Are there any good tools for observing which files are being created/deleted/modified when a specific program is run?

Thanks in advance!

Was it helpful?

Solution

You can use Process Monitor tool. Set "Show File System Activity" to ON and set a filter on the process name to get only the traces you need.

OTHER TIPS

Use find.

touch ~/test-marker
# run your program
find <directory> -newer ~/test-marker
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top