Color

Sets console foreground and background colors. Returns ERRORLEVEL 1 if you try to set the foreground and background colors to the same value.

Syntax

 color fb 

Parameters

  

Parameter

Purpose

 

none

Restores default colors.

 

f

Sets the foreground color based on a hexadecimal value.

 

b

Sets the background color based on a hexadecimal value.
Hexadecimal color assignments include:

 

0

Black

 

1

Blue

 

2

Green

 

3

Aqua

 

4

Red

 

5

Purple

 

6

Yellow

 

7

White

 

8

Gray

 

9

Light blue

 

A

Light green

 

B

Light aqua

 

C

Light red

 

D

Light purple

 

E

Light yellow

 

F

Bright white



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net