Get rid Of “Press a key…” While Using Log Parser
As I said before, I use Log Parser a lot.
One thing that really annoyed me is Press a key... that would appear after each screen of results.
C:\>LogParser "SELECT text FROM errors.log"
[...]
Press a key...
[...]
It took me some time to get rid of it, so maybe this helps somebody. Use -rtp:-1 switch and there will be no more Press a key...
C:\>LogParser -rtp:-1 "SELECT text FROM errors.log"

Nice one! Thanks, just what I needed. LogParser is awesome.
ChromaBurst
2 Apr 09 at 7:19 pm
I am always surprised how a short blog post on any obscure problem could actually help somebody.
Željko Filipin
3 Apr 09 at 11:35 am
Another useful command line switch is -q:ON. Removes headers and statistics. Useful for redirecting results to file.
Željko Filipin
10 Apr 09 at 12:18 pm