Suggestion: 'Current directory' field in procmon RRS feed

  • Question

  • Hi,
    I cannot see the field 'Current directory' in the "process" tab of event property windows. (as in procexp)
    I could be usefull to have it.
    Tuesday, August 28, 2007 10:01 PM

All replies

  • Just to tie them together...
    Similar request by sndom at ** Feature request list **
    Tuesday, August 5, 2008 4:37 AM
  • The process tab contains information that remains constant over the lifetime of the process, so this is not the appropriate place for current directory information, which can vary. It would have to be part of the event data, but I'm not eager to expand the size of events to add a field that is not commonly used. When would this be useful?
    Friday, August 8, 2008 10:06 AM
  • Wondering also, IMHO this is completely useless addition.
    Friday, August 8, 2008 10:43 AM
  • Hello,
    Sorry for the very late answer.
    The current directory information can be very useful because, some applications (too many IMHO, e.g bat files) rely on it, and have a completely different behavior depending on it. As it may vary over the life time of the process, the current directory at process creation time can be used in the tab page.
    Another field that can be useful either in the 'process' tab for the 'Event properties' dialog and 'Process tree' windows is the exit code of the process (the exited time is already displayed)
    Monday, May 17, 2010 2:47 AM
  • Have to agree w/ bobie that the working directory will often be manipulated by application integrators and that the working directory can impact an applications behavior. I think it would be uncommon for an application to change its working dir during the life of the process.
    Monday, May 17, 2010 4:00 AM
  • ...  I think it would be uncommon for an application to change its working dir during the life of the process.
    file open/save dialogs do it
    Monday, May 17, 2010 4:09 AM
  • So having the the current directory available in the event 'Process Create' (for the father process) and in the event 'Process Start' for the current process can be consistent.
    Another data that is often useful are the environment variables both at 'Process Create' and at 'Process start' events.
    Tuesday, May 18, 2010 5:14 AM
  • I have lots of desktop applications that I develop that change the current directory all the time.  Just because, in your experience, applications don't change the current directory a lot, doesn't mean that others have the same experience. I would find this feature extremely useful in trouble-shooting my applications.
    Friday, March 24, 2023 1:27 PM