Use Windows Sysinternals Process Monitor utility.
For example, download http://download.sysinternals.com/Files/ProcessMonitor.zip and extract procmon.exe to a directory in your PATH such as C:\Windows. Or copy it to a new directory named C:\Sysinternals and add that to your PATH. Or simply run promon.exe by clicking here http://live.sysinternals.com/procmon.exe
To monitor a specific file or directory, set up a filter in Process Monitor as follows:
Select Find... from the Edit menu to search for a particular filename.
Note that you can save the log in various formats by selecting Save... from the File menu. Save the log in .PML format if you want to reopen it with Process Monitor.
For more information about Windows Sysinternals visit http://technet.microsoft.com/en-us/sysinternals/default.aspx
Article ID: 136
Created: July 13, 2010
Last Updated: July 13, 2010
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=136