windows命令提示符
It can be annoying when you’re using the default Command Prompt window settings and not being able to read everything easily. What you may not know is you can make it wider, and here is how.
当您使用默认的命令提示符窗口设置且无法轻松阅读所有内容时,这可能会很烦人。 您可能不知道的是,可以将其扩大,这就是方法。
Command Prompt
命令提示符
The Command Prompt in Windows is a feature that provides the ability to enter in MS-DOS and other commands to perform tasks in the OS. By default though, it’s not always wide enough for viewing the data you want in an easy to read format.
Windows中的命令提示符是一项功能,提供了输入MS-DOS和其他命令以在OS中执行任务的功能。 不过,默认情况下,它的宽度并不总是足够容易以易于阅读的格式查看所需的数据。
In this example we’re running the tracert command in prompt. With the default settings we cannot see all of the information in an easy to read format. The data wraps so it can be somewhat difficult to review.
在此示例中,我们在提示符下运行tracert命令。 使用默认设置,我们无法以易于阅读的格式查看所有信息。 数据自动换行,因此可能难以审核。
Change Command Prompt Width
更改命令提示宽度
Right-click on the prompt boarder and select Properties…
右键单击提示边界,然后选择属性...
Now select the Layout tab and change the Window Size width, by default it is 80. Here you can change the Screen Buffer Size Width and Window Position. When you’re finished click OK.
现在,选择“布局”选项卡并更改“窗口大小”宽度,默认情况下为80。在这里,您可以更改“屏幕缓冲区大小宽度”和“窗口位置”。 完成后,单击“确定”。
Now the window is wider and when we run the same command above, we can see all of the data in a much easier to read format!
现在窗口变大了,当我们在上面运行相同的命令时,我们可以以更容易阅读的格式查看所有数据!
If you find yourself using the command prompt and were frustrated about not being able to see everything easily, this quick tweak helps out a lot. If you want to find out more ways of tweaking the Command Prompt, check out our article on how to personalize it.
如果您使用命令提示符发现自己不满意,而对无法轻松查看所有内容感到沮丧,则此快速调整将大有帮助。 如果您想了解更多调整命令提示符的方法,请查看有关如何个性化它的文章 。
This will work with in XP, Vista, and Windows 7
在XP,Vista和Windows 7中均可使用
翻译自: https://www.howtogeek.com/howto/19982/how-to-make-the-windows-command-prompt-wider/
windows命令提示符