Željko Filipin's Blog on Software and Testing

Test like you do not need the money.

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

with 3 comments

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"

Written by Željko Filipin

July 10th, 2008 at 9:00 am

Posted in Software

3 Responses to 'Get rid Of “Press a key…” While Using Log Parser'

Subscribe to comments with RSS or TrackBack to 'Get rid Of “Press a key…” While Using Log Parser'.

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

    ChromaBurst

    2 Apr 09 at 7:19 pm

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

  3. 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

Leave a Reply