简体   繁体   中英

How can I get cmd to filter out all the unnecessary stuff?

I'm running a script and it's currently cluttering the CMD prompt. The important parts are only every few lines, they're in a very distinct green as to help. But now that the script has been running for a while there is more clutter.

My question is, can I filter out words? So that I can see only the important stuff on my CMD prompt?

Somecommand | Findstr /c:"<PKMN>"

Filters output through Findstr . See Findstr /? . See Trouble with renaming folders and sub folders using Batch for punctuation meaning.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM