07.10.08

Get rid Of “Press a key…” While Using Log Parser

Posted in Software at 9:00 am by Željko Filipin

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"

3 Comments »

  1. ChromaBurst said,

    April 2, 2009 at 7:19 pm

    Nice one! Thanks, just what I needed. LogParser is awesome.

  2. Željko Filipin said,

    April 3, 2009 at 11:35 am

    I am always surprised how a short blog post on any obscure problem could actually help somebody. :)

  3. Željko Filipin said,

    April 10, 2009 at 12:18 pm

    Another useful command line switch is -q:ON. Removes headers and statistics. Useful for redirecting results to file.

Leave a Comment