Dec 312017
 
An easy way to set DOS colors.
File SETCOLOR.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
An easy way to set DOS colors.
File Name File Size Zip Size Zip Type
SETCOLOR.BAT 1967 625 deflated
SETCOLOR.DOC 1167 622 deflated

Download File SETCOLOR.ZIP Here

Contents of the SETCOLOR.DOC file


FILENAME: SETCOLOR.BAT

USE: Change color of lettering and background "on-the-fly"

SYNTAX: SETCOLOR FOREGROUND BACKGROUND

Ansi.sys or ansi.com must be present in CONFIG.SYS for this command
to work. FOREGROUND refers to the letters, and BACKGROUND to the
rest of the screen. Possible choices for each are:

BLACK RED GREEN YELLOW BLUE MAGENTA CYAN WHITE

Any combination will work; for example, SETCOLOR YELLOW BLUE will give
yellow letters on a blue background. Take care when setting your
combinations that you do not "hide" your letters on the screen with
colors that are not contrasting enough. Should that happen, merely
press ESC to ensure a nulled command line, then carefully type in
a different combination. Even though not visible, every command will
work as usual.

Default colors are WHITE on BLACK. This command can be put in your
AUTOEXEC.BAT if you wish. The color names should be typed in either
all CAPS or all lowercase. A mixture may not be recognized, although
the .bat can easily be modified to accept mixed names if you wish.


 December 31, 2017  Add comments

Leave a Reply