Easily switch directories at the command prompt

  

Although the Windows graphical interface has already replaced the boring DOS character interface (nonsense, Vista is ready to go), but in daily operations, there are still many times when you need to use the command. Prompt. For example, when batching files, when executing character commands, and when restoring the system under the command line, switching directories is always better than Windows. In fact, Microsoft did not tell you, at the command prompt, there are many tips for directory input.

File Name One "Show”

The first easy-to-use shortcut is the “Tab” key. In Windows XP, the command prompt window is called up. You try to press the “Tab” key several times. At this time, the file names in the current folder will be displayed one by one, and the subfiles will be displayed after the file is finished. The name of the folder.

All subfolders stand out

If you want to switch to a folder, first enter “cd” and enter a space bar, then press “Tab” The key, at this time will only appear in the order "show" & rdquo; out of all sub-folders, and will not appear file names, even Chinese folders can also use this method to automatically show the name 喔!

Tips

If you use the "Shift+Tab" shortcut, the folder names are displayed in reverse order.

According to the "last name", find the folder

If we want to switch to a folder with the beginning of the letter D, you can also enter "ldcd;cd d”" Empty one space, then the letter at the beginning of the folder), then press the “Tab” button, it will only show the name of the folder starting with the letter D, so you can find the target you want.

I know what you just did

In addition, in the command prompt character window, in addition to pressing the keyboard '“↑” or “↓” cursor keys can be used before In addition to the command that has been entered, in fact, click on the “F7” key, and a menu will pop up to list the commands you have entered. It is more convenient to select (see picture).

Copyright © Windows knowledge All Rights Reserved