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:
- Right-click in the Cmd.exe window title bar and select "Default" to open the console window properties * * Settings interface.
- 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.
- Right-click in the Cmd.exe window title bar and select Properties to open the properties * * Settings interface.
- Enter the font label, which is recommended by default. Of course, there are several options that you can choose based on your needs.
- Layout label, screen buffer size-width setting, which determines how many characters can be displayed per row. I set 150
- 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
- Color Tags: Here I tested a few colors, personal feeling is good, the back recommended to everyone.
- 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:
- Open Cmd.exe
- Right-click on the taskbar to find its icon, then "pin this program to the taskbar ".
- 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
- Select the Start Position tab and modify the starting position, such as: D:\wwwroot\laravel
- 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.