On 2020-02-26 15:06, Norman Gaywood wrote:
I don't have a windows system to test, but in all the examples shown I did not see:qqx{ C:/Windows/System32/fsutil.exe usn readdata "$FileName" }; which is how I would have expected to write the command.
That is the way I do it in Linux too. $FileName works without the quotes if the file name does not have any spaces in it. With spaces, fsutil grips about not finding the file and you sent one too many parameters to it. I will try the shell command