I want to make the background color and text color of the cmd window change in a cycle one by one (I want to choose a good effect configuration from it). How to write it with for?
After each color change, choose whether to continue the experiment and output the background and text color codes of the current window:
The current background and text color, for example, output 0a
%a% %b% respectively store
Background color and text color, that is like this: select two combinations from 0, 1, 2, 3...9, a, b, c, d, e, f one by one and give them to a, b respectively until all combinations are selected, then use
color %a%%b%
to for loop to choose whether to continue the experiment and display the current configuration
[ Last edited by gskys123 on 2007-1-15 at 12:03 PM ]
After each color change, choose whether to continue the experiment and output the background and text color codes of the current window:
The current background and text color, for example, output 0a
%a% %b% respectively store
Background color and text color, that is like this: select two combinations from 0, 1, 2, 3...9, a, b, c, d, e, f one by one and give them to a, b respectively until all combinations are selected, then use
color %a%%b%
to for loop to choose whether to continue the experiment and display the current configuration
[ Last edited by gskys123 on 2007-1-15 at 12:03 PM ]
