Search found 2 matches

by bzgzd
19 May 2024 04:51
Forum: DOS Batch Forum
Topic: What is this batch file doing (to make color text)?
Replies: 3
Views: 9814

Re: What is this batch file doing (to make color text)?

Thx for answer.

I assume there is no easy way to output colored text and that's why he used this trick with "findstr /a" to achieve that.

Probably making sure that such file name or directory doesn't exist would be needed before trying to create it and then delete it... :-)
by bzgzd
16 May 2024 09:26
Forum: DOS Batch Forum
Topic: What is this batch file doing (to make color text)?
Replies: 3
Views: 9814

What is this batch file doing (to make color text)?

Hello, sometimes I want to block internet access to some programs and I use for that this batch file: https://github.com/charlesdh/addfwrs It uses some batch file tricks that I don't understand to create colorful texts. But there is some problem with this method when in current directory exist file ...