in reply to NTFS USN change journal in Perl

see if I can get some code to interface with the Windows USN journal.

By far the simplest way would be to use backticks or a piped open to grab the output from fsutil.exe:

C:\test>fsutil usn ? ---- USN Commands Supported ---- createjournal Create a USN journal deletejournal Delete a USN journal enumdata Enumerate USN data queryjournal Query the USN data for a volume readdata Read the USN data for a file

You might also take a look at Win32::ChangeNotify.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?