Let the command-line program under Windows Cmd.exe use it more conveniently.

Source: Internet
Author: User

Using the Larave framework for development under Windows, from Composer to artisan always avoids the interaction with Cmd.exe, the default command line interface is not very nice, and the number of characters per line is limited. The great Cmd.exe, is so capricious!

In some cases, we need to show more characters per line, avoiding frequent line breaks leading to a jumble of strings appearing on the interface. Of course, you may have been bored with the black-cmd.exe interface.

So, how to improve this situation? In fact, it is very simple, Cmd.exe has some basic setup functions, just not used. Here's what you can do:

    1. Right-click in the Cmd.exe window title bar and select "Default" to open the console window properties * * Settings interface.
    2. Option label, command-line records can be increased appropriately, as needed to set the good. It is recommended that the * * AutoComplete option be checked so that you can tab through the commands. Click OK to save.
    3. Right-click in the Cmd.exe window title bar and select Properties to open the properties * * Settings interface.
    4. Enter the font label, which is recommended by default. Of course, there are several options that you can choose based on your needs.
    5. Layout label, screen buffer size-width setting, which determines how many characters can be displayed per row. I set 150
    6. Window Size-width setting, where the width of the setting is the same as the aspect, or the horizontal scroll bar will appear. Here also set 150
    7. Color Tags: Here I tested a few colors, personal feeling is good, the back recommended to everyone.
    8. Once setup is complete, press * * OK to restart Cmd.exe to see its new face.

About the starting position
After starting Cmd.exe, you will find that the starting position in C:\Users\Username, each time you need a CD to your Laravel project location, this step can be simplified? Of course:

    1. Open Cmd.exe
    2. Right-click on the taskbar to find its icon, then "pin this program to the taskbar ".
    3. Right-click on the taskbar to find its icon, right-click the command prompt option in the menu, click the properties option to open the command prompt Properties window
    4. Select the Start Position tab and modify the starting position, such as: D:\wwwroot\laravel
    5. Press the "OK" button to save

Recommended Color configuration:

Screen text: R (+) g (219) b (in) screen background: R (G) (+) b (34 )

Let the command-line program under Windows Cmd.exe use it more conveniently.

Related Article

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.