Results 1 to 2 of 2

Thread: Change the colors in the command prompt

  1. #1
    Join Date
    Dec 2008
    Posts
    950

    Change the colors in the command prompt

    Here is a trick totally useless but very nice! It will allow you to change the background color and text in your windows DOS command prompt (accessible via Start> Programs> Accessories> Command Prompt).

    Open regedit (Start menu, Run ... and type regedit)
    Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor
    Edit DWORD Value DefaultColor by a hexadecimal value

  2. #2
    Join Date
    Jan 2008
    Posts
    644

    Re: Change the colors in the command prompt

    The default value is 0 (white text on black background). Use the color codes below to change the default colors.

    • 0 = Black
    • 1 = blue
    • 2 = green
    • 3 = cyan
    • 4 = red
    • 5 = magenta
    • 6 = yellow
    • 7 = light gray
    • 8 = gray
    • 9 = light blue
    • A = light green
    • B = Light Cyan
    • C = light red
    • D = magenta
    • E = Light yellow
    • F = white highlight


    The colors are expressed by a hexadecimal number with two digits. The first is the background color and the second to the text color. For example, 1F will highlight white text on a blue background.

Similar Threads

  1. How to change Command Prompt settings
    By rIh@n in forum Operating Systems
    Replies: 3
    Last Post: 17-08-2009, 03:04 PM
  2. Can’t change drive in command prompt
    By Zayd in forum Operating Systems
    Replies: 3
    Last Post: 14-08-2009, 03:26 PM
  3. Command prompt to change dns
    By Renderman21 in forum Technology & Internet
    Replies: 4
    Last Post: 11-08-2009, 03:27 PM
  4. about the command prompt
    By Gorganzola in forum Windows Software
    Replies: 2
    Last Post: 17-10-2008, 06:24 PM
  5. Command prompt "COPY" command not working in brand new Windows Vis
    By CMD COPY command not working in Vista in forum Vista Help
    Replies: 7
    Last Post: 06-02-2008, 02:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,881,832.50825 seconds with 17 queries