Personality settings CMD command line is not allowed to let go

  
                  

Although the DOS command is already a yellow flower yesterday, we still need to use the DOS command many times, so the Windows XP system also retains the "command prompt", but the interface facing the white background all day is really in my heart. Unhappy, below we are good to help any foreign tools, manually create a personalized "command prompt".

Step 1: Create a new .cmd file. The file name can be customized. We will name it cmd.cmd and enter the following content:

@echo off

echo Microsoft Windows XP

echo Welcome to the mountain people studio!!!

echo today is %date%

echo is now %time%

title Mountain people personality cmd.exe

color 3c

@echo on

The text behind the middle echo can be changed arbitrarily, such as adding your favorite motto Or other text, and %date% and %time% are the current date and time of the calling system. "title mountain personality cmd.exe" is to change the cmd window title name. "color 3c" is to set the foreground and background color of the cmd window. The previous number or letter is the background color, the latter number or letter is the foreground color, and the numbers or letters corresponding to some colors are: 0=black, 1=blue 2=green, 3=light green, 4=red, 5=purple, 6=yellow, 7=white, 8=grey, 9=light blue, A=light green, B=light green, C=light red , D = light purple, E = light yellow, F = bright white. After editing the cmd.cmd file, we can now copy it to the system directory, such as c:/windows. //This article comes from the computer software and hardware application network www.45it.com

Step 2: Run "regedit" in the start menu to open the registry editor, navigate to [HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\ Microsoft\\\\ Under command processor], change the DWORD value of "AutoRun" to "%systemroot%\\\\cmd.cmd" (without quotes), save the registry, run the cmd command in the start menu to see the effect, is it cool? .

In addition, if you want to open a "command prompt" to display a command prompt you need, you can also add such a piece of code in the cmd.cmd file, such as "prompt C: /windows ", the code format is "prompt name".

Copyright © Windows knowledge All Rights Reserved