I would like to ask you for a help. I have a text document colors.txt that contains many colors (hundreds of them, each on the separate line).
For example:
blue
white
yellow
green
magenta
cyan
white
black
Than I have folders, that contain subfolders and files. I have to make a script (batch file), that searches for colors thru all those folders, subfolders and files line by line. If specific color is used at least once, everything is OK. However, if some colour is completely unused (can not be found) in any of these folders, subfolders and files, I have to know which color it is.
It is possible to do it manually and test all the colors with command such this one:
findstr /s/m "blue" *.txt
But there are really hundreds of them and it would take too long.
Is there any possibility to do it through loop, with argument that varies according to lines in colors.txt?