In DOS system, there is only a black lacquered window, let you enter commands to complete some operations, it does not have such a gorgeous and simple window operation interface, but can achieve some special The task, in the xp system also retains a DOS-like command window, the user can fully use the command prompt to achieve more special operations.
Click “Start → Programs & Rarr; Attachments & Rarr; Command Prompt " & "Start & Rarr; Run”, then enter “CMD” Enter the command to the prompt state.
1. Using the automatic memory function
The command window has the command memory function. All the command lines you input in the window will be automatically memorized by clicking the up and down direction keys on the keyboard. You can retrieve the commands you just entered one by one, similar to the DOSKEY command in DOS, except that it is built into the command window. This memory function can save you the pain of repeatedly inputting the same instructions. It is especially useful for debugging the network environment, which can save you a lot of repetitive work and valuable time.
2, Fun Prompt
Do you imagine making your command prompt current time? Can you display the current Windows XP version number? It can be implemented as long as you want. Here we will teach you how to achieve.
Here we use a prompt DOS command, this command has a lot of useful parameters, the detailed parameters of the role of the reader at the prompt to run prompt /? to view. Once you understand the role of these parameters, you can create a file in the installation path, named run.bat, the contents of the folder is prompt $V$D$G$G. Next open the Registry Editor, browse to HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Command Processor\\, and then double-click the AutoRun key on the right to change it to %systemroot%\
un.bat and save the settings to exit. Reopen the command prompt and see if there is a change. In fact, as long as you follow the parameters of the prompt, you can define very rich prompt text.
3, copy the contents of the window
The copy of the string is quite useful for the command window. However, the copy mode of the Windows 2000 and Windows XP command prompts is quite different from the previous version, even if the two are not the same, the former uses the mark copy method, while the latter directly uses the right mouse click copy method. The specific description is as follows:
In Windows XP, for all content, you can directly click the "Select All" button in the right mouse button to select, and for the specified range of content, you can first right click Select the "Mark" item and move the mouse to the command character to be copied. Drag the mouse to select the string. These strings will immediately appear on the screen in reverse, click the right mouse button or press Enter. Key, then move to the target position, right click and select “ paste & rdquo;, such a command string is automatically copied to the specified location.
Under Windows 2000, since the menu of the right mouse button is not supported in the command window (but the drag selection of the mouse is supported), it gives a more concise way to copy the characters with the day command. First, you must hold down the left mouse button and drag the command string to be copied. They will appear on the screen in reverse. Click the right mouse button (ie, perform the copy operation) and move the mouse to the target position. Then click the left mouse button again and the command characters will be automatically pasted into the new location!
4. Change the window properties
If you work at the command prompt for a long time, you can adjust it yourself. The appearance is adapted to your own usage habits, such as personalizing the title, color, etc. of the window. The related commands that are often used are as follows:
a) Change the title: CMD /k TITLE new title name < Br>
b) Change the command character: CMD /K PROMPT [text] (text is the new command prompt)
c) Change the foreground color and background color: CMD /t:gf(g is Specify the hexadecimal number of the background color. The commonly used colors are as follows: Value: 0 black, 1 blue, 2 green, 3 light green, 4 red, 5 purple, 6 yellow, 7 white, 8 gray, 9 light blue, A light green, B light blue, C light red, D light Purple, E light yellow, F bright white.
5, command window shortcuts
There are many useful shortcuts under the command window, which can greatly speed up your input and debugging speed. And some functions are also provided graphically.
ESC: Clear the current command line;
F7: Display the command history, giving all the commands that have been entered in the form of a graphical list window. You can use the up and down arrow keys to select the command again.
F8: Search the history of the command, cycle through all the commands you have entered until you press the Enter key;
F9: The number selection command asks you to enter the number corresponding to the command (starting at 0) in the graphical dialog box and display the command on the screen;
Ctrl+H: delete one character to the left of the cursor; Br>
Ctrl+C Ctrl+Break, forcibly abort command execution;
Ctrl+M: table Enter Confirmation Key;
Alt+F7: Clear all command history that was entered;
Alt+PrintScreen: Capture the contents of the current command window on the screen.
6, good & ldquo; color & rdquo; command line
In the default state, the command line is always black and white, from here on the first knife. In the run dialog box, enter cmd, open a command prompt, open Right click on the title of the window, select “Properties> in the pop-up menu, and switch the open window to the "Color" tab, select the screen text, screen background options, and set the corresponding color. Note that when we change the settings, it will be displayed in real time below. According to this, we can make adjustments according to our own preferences. After we save the settings, we will ask the application properties and select “Save the properties for later titles. The window uses ” so that it does not only work for the current window.
7, quickly select files and folders
At the command prompt, we can press the Tab key to select the files and folders under the current directory, its choice is according to certain In order to carry out the operation, press the Shift+Tab key combination to select the opposite direction, which is very convenient. Note that the file we selected at this time also includes hidden files.
8, save the file list information
Sometimes we need to print out the file list information in a directory on the hard disk, you can use the following method: type the command DIR> C: \\1. Enter after Enter, so the file list of the current directory will be saved to the 1.txt file of the C drive.
Until today, the windows system is still inseparable from the operation of DOS commands. In the xp system, mastering those command prompts and using them skillfully can bring a different experience to your xp system.
When we install the software, generally do not install the software in the C drive, because the C dr
When a friend uses the Windows XP system, he does not know which part of the link is inadvertently o
There are two kinds of display flashing. One is black screen flashing, the other is flashing screen,
I believe that many computer users will have this habit, or even obsessive-compulsi
Windows XP system shutdown failure is solved
WinXP system uses the dos command to delete the folder method
Share the five small cheats of WinXP practical
WinXP control panel font program error how to solve
WinXP computer sound is not normal processing method
DVI line leads to black screen fault handling full Raiders
9 reasons and solutions for excessive CPU usage
WinXP computer can not solve the problem?
What should I do when WinXP is shutting down when I shut down the screen?
Kiosk mode running screenshots out of
After inserting the USB flash drive into the computer in Win7, you can't use it again.
Windows 8 application leap forward number has exceeded 20000
New, Refresh, and Other Commands in Windows 8 Applications
Those good layouts of Chinese PPT templates
Windows Server 2008 four optimization tips explain
How does Win8 use the home security feature to make children healthy online?
Win8 system part of the web page can not open? Win8 computer web page can not open the solution
Win7 replaced with a solid background will cause the boot speed to slow down how to solve