Possible Bug in Log Parser 2.2
Last post Nov 26, 2018 06:15 PM by hg363
Nov 26, 2018 06:15 PM|hg363|LINK
Unless I am doing something seriously wrong, I suspect there may be a bug in our beloved LogParser 2.2
I run the following and get my output in Data Grid View.
But when I check the Data Grid Ouput with the contnets of the files located in the patch, it appears that Log Parser has failed to do a full rescurse (beacuse there are files in the folder) which are missing in the Data Grid Output.
Set objLogParser = CreateObject("MSUtil.LogQuery")
Set objinputFormat = CreateObject("MSUtil.LogQuery.FilesysteminputFormat")
Set objOutputFormat = CreateObject("MSUtil.LogQuery.datagridOutputFormat")
objinputFormat.recurse = -1
objOutputFormat.rtp = -1
strQuery= "SELECT name, path, LastAccessTime, LastWriteTime, size FROM '\\server\users\P\pk885*.*'"
objLogParser.ExecuteBatch strQuery, objInputFormat, objOutputFormat