http://qs1969.pair.com?node_id=1107049


in reply to Anyway to determine path being monitored with Win32::ChangeNotify?

Documentation for Windows API functions FindFirstChangeNotification and FindNextChangeNotification which are wrapped up by the module states:

"these functions do not indicate the actual change"

The documentation suggests ReadDirectoryChangesW be used to "retrieve information about the specific change". But that doesn't help your case unless you can monitor the parent directory instead, and I can't find a Perl module that wraps up ReadDirectoryChangesW in any case. You can probably call ReadDirectoryChangesW directly using Win32::API if that solves a problem for you.

Perl is the programming world's equivalent of English
  • Comment on Re: Anyway to determine path being monitored with Win32::ChangeNotify?