1. Colored command line
By default, the command line is white on black, but if you are a trendy DIYer mad, want to create a full-featured command line window, may wish to always be a constant command line The window becomes a color, and it is sure to surprise others with a colorful coat!
Click "Start → Programs → Accessories → Command Prompt", enter "color 02" at the command prompt and press Enter to see if the command line window immediately becomes a black background. Green word? Try entering "color f4" again. Is the command line window turned into a red text on white? Interesting!
"color" is a unique command in Windows2000/XP/2003. The main function is to change the color of the command line window. The color attribute is specified by two digits: the first is the background color, and the second is the foreground color, which is the color of the text. Friends who don't understand usage can type "color /?" at the command prompt to get detailed help, as shown in Figure 1.
2. Let the command line bring the clock
Under Windows, we can keep track of the current time through the system time displayed in the system taskbar, so that we can arrange the work in a reasonable way. But under the command line, if we have maximized the command line window, we can't grasp the current time through the system's taskbar. We must convert the maximized command line window to a small window to see the system time. trouble. If you can master the system time anytime, anywhere in the command line window, how good it is. Let us make our dreams come true now!
Enter "Prompt $T $P$G" at the command prompt, press Enter. Now, see if the current time of the system has been displayed on the command line (Figure 2)? And this little clock will automatically update every time you enter, it's fine!
3. Change the face of the command line prompt
The command line prompts you see are all the same "C:\\>" (Windows 98) or "C:\\Documents and Settings" \\username>" (under Windows 2000/XP/2003), it seems dead. Let us now reinvent the command line prompt to make it full of new ideas and personalities.
If you want to change the command prompt to "C:\\Windows==>", type "prompt $T $P$Q$Q$G". If you want to change the command prompt to "Windows98 [version number]>", type "Prompt $T $V$G". Type "Prompt/?" to see a variety of interesting parameters, as shown in Figure 3. With these parameters flexibly, you can create a command line prompt! For example, if you want the command line to display your computer name, that's cool enough. Enter "prompt [%Computername%] $P$Q$Q$G" at the DOS prompt.
4. Once and for all, let the command cool up
With the above method, it is very easy and interesting to give the command line or MS-DOS cool, but every time you enter the command line prompt Have to enter the order, is there a way to do it once and for all? Haha, lazy people have their own lazy, there are three ways.
Method 1 Click “Start→Run”, enter “REGEDIT” in the run dialog box, enter the registry editor, and then expand the [HKEY_LOCAL_MacHINE\\SOFTWARE\\Microsoft\\Command Processor] branch. Create a new string value in the right window, name it "AutoRun", and set its value to "prompt <$t $p$Q$$$D$V$L$B$g>","< ;$t $p$Q$$$D$V$L$B$g>" indicates the form of the parameter you want to use. For example, we want to change the command prompt to the form "09:08:10 (time) C:\\Windows==>" and enter "prompt $t $p$q$q$g". Exiting the registration form will take effect after the setting is completed. Note that this method is only available for Windows 2000/XP/2003.
Method 2 Use Notepad to open the "Autoexec.bat" file in the root directory of the system. If not, please create a new one. Enter "prompt <$t $p$Q$$$D$V$L$B$g>", "<$t $p$Q$$$D$V$L$B$g> "" indicates the form of the parameter you want to use. For example, if we want to change the command line prompt to: "[WIN98] 09:08:10 (time) C:\\Windows==>", enter "Prompt [WIN98] $t $p$q$q $g", restart the computer after saving, the command prompt will become what we want (for Windows 98).
Method 3 Open the "Autoexec.bat" file in the root directory of the system with Notepad. Enter "Sets Winpmt=[any expression you want to use] <$t $p$Q$$$D$V$L$B$g>". For example, if we want to change the command line prompt to: "[Windows 98] 09:08:10 (time) C:\\Windows==>", enter "set winpmt=[Windows 98] $t $p $q$q$g", restart the computer after saving, the command prompt will become what we want (for Windows 98).
Note: Winpmt is the system environment variables, the meaning of each parameter and Prompt command exactly meaning of each parameter.
Some time ago, many friends asked all settings are correct, that is, the switch has no sound problem
. Faced with silent computers for a long time, we are inevitably tired. If the content being input i
Windows 2000/XP/2003 After booting, you generally need to press Ctrl+Alt+Del to log in. If you want
The Microsoft Windows XP operating system has impressed a large numbe
Look over: Some small cheats about XP
Windows XP installation CD 5 steps slimming method
Let Windows XP SP3 also support network-level authentication.
Do-It-Yuan Packages with Longhorn XP
Windows XP Recycle Bin Cannot Be Cleared Solution
Window xp use Regsvr32 to solve system incurable diseases
Windows XP system "advanced" attribute combat application
XP: Unable to wake up after hibernation
Windows XP SP2 Installation Troubleshooting
Correctly delete files with garbled file names in the system
How to check the configuration of your love machine is good or bad
Windows XP must be aware of the two weaknesses
GHOST restore system appears "Decompression error, Abort?" Solution
What commands are used for Linux system monitoring?
Adjusting IIS settings to simplify Windows Server client uploads
Win7codecs installation, win7codecs decoder settings tutorial
How to view the complete network mapping of the current network of Windows 8 system