Hey guys!
I want to print specific lines with specific colors but without using findstr /A.
Is there any other method to print lines with colors without using findstr?
Any help is greatly appreciated,
PaperTronics
How to print specific lines with specific colors?
Moderator: DosItHelp
-
- Posts: 118
- Joined: 02 Apr 2017 06:11
Re: How to print specific lines with specific colors?
Windows 10 supports ANSI color.
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: How to print specific lines with specific colors?
PaperTronics wrote:but without using findstr /A.
Why?
-
- Posts: 118
- Joined: 02 Apr 2017 06:11
Re: How to print specific lines with specific colors?
@Compo - Could you please tell me that method
@Squashman - I want the method to be supported on all platforms
@ShadowThief - I forgot to describe why. Findstr does not support poison characters even after adding carrets. Is there a way to make findstr support poison characters? Also I'm CALLing the findstr command.
PaperTronics
@Squashman - I want the method to be supported on all platforms
@ShadowThief - I forgot to describe why. Findstr does not support poison characters even after adding carrets. Is there a way to make findstr support poison characters? Also I'm CALLing the findstr command.
PaperTronics
Re: How to print specific lines with specific colors?
PaperTronics wrote:Findstr does not support poison characters even after adding carrets.
See e.g.
viewtopic.php?p=41155#p41155
viewtopic.php?t=3248&start=15
Steffen
-
- Posts: 118
- Joined: 02 Apr 2017 06:11
Re: How to print specific lines with specific colors?
@aGerman - Thanks! I'm now using carlos' utility to print out color.
PaperTronics
PaperTronics