Nice script, I just have one small addition if you don't mind...
If you want to see the actual event log files and maybe import them into a database, then instead of deleting the system.txt files etc. Add in the following:
shell "%comspec% /c ren application.txt @wksta.@mdayno@email@example.com"
shell "%comspec% /c ren system.txt @wksta.@mdayno@firstname.lastname@example.org"
shell "%comspec% /c ren security.txt @wksta.@mdayno@email@example.com"
This of course would only work if you did it once a day/week etc. I am not good enough to modify your whole script, maybe someone could have a wee play.
The *.prn files are Space Delimited (open with Excel)
Anyway, thanks again for the nice script.