Teach you to switch directories at any command prompt

Source: Internet
Author: User
Tags command line

Although the Windows graphical interface has already replaced the boring DOS character interface (nonsense, Vista is out of the question), there are many times when you need to use a command prompt in your day-to-day operations. For example, when you rename a file in batches, when you execute character commands, and when you restore the system at the command line, switching directories is not always as convenient as windows. In fact, Microsoft did not tell you that at the command prompt, there are many small directory input tips.

File name "show" a bit

The first handy shortcut key is the "tab" key. In Windows XP, pull up a command prompt window, you try to press the "tab" key several times, the current folder in the file name will be displayed in one by one, the file after the show will be followed by the name of the subfolder.

All subfolders stand out

If you are going to switch to a folder, first enter the "CD" and enter a space bar, and then press the "tab" key, this time will only appear in sequence "show" all subfolders, and will not appear file names, even Chinese folder can be used to automatically show the name of this method Oh!

Tip: If you use the "shift+tab" shortcut key, the folder name is displayed in the reverse order.

Find folders based on last name

If we were to switch to a folder with the name beginning with the letter D, you can also enter "CD D" (That is, a blank after the CD, and then the letter at the beginning of the folder), and then press the "tab" key, you will only take turns to show the name of the folder beginning with the letter D, so you can quickly find the target.

I know what you just did.

In addition, under the Command prompt character window, in addition to pressing the keyboard "↑" or "↓" cursor keys can be entered before the command call out, in fact, click the "F7" key, but also pop-up a menu, the instructions you have entered all listed out, choose more convenient.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.