1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

[Removing empty lines after piping command output to text file]

Discussion in 'Windows Server System' started by DexterMorgan, 2012/04/04.

  1. 2012/04/04
    DexterMorgan

    DexterMorgan Inactive Thread Starter

    Joined:
    2012/04/04
    Messages:
    1
    Likes Received:
    0
    Hi people,

    Sorry if this is posted in the wrong area, not even sure if I'm on the correct forum to be asking this question :confused:

    My issue is this, in cmd I run a command which returns a lot of data that I pipe into a text file, basically all I want to do is remove all empty lines and remove all lines beginning with the word UserIN - would this be possible? thanks.
     
  2. 2012/04/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,068
    Likes Received:
    396

  3. to hide this advert.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.