I don't get what you mean. Do you want to find the pathname of a program whenever one writes to the registry?