如何在 windows xp 中最大化命令提示符

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1409056/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 13:06:38  来源:igfitidea点击:

How to maximize command prompt in windows xp

windowscommand-promptmaximize-window

提问by nacho4d

I am on windows xp,

我在 windows xp 上,

Is there any way to maximize my cmd.exe window?

有没有办法最大化我的 cmd.exe 窗口?

I am doing some mysql and it is so difficult to read results of my queries in such a small window.

我正在做一些 mysql,在这么小的窗口中读取我的查询结果非常困难。

Why maximize does not really maximizes it? Is there a way for maximizing? Or maybe an alternative command prompt I can use?

为什么最大化并没有真正最大化它?有没有最大化的方法?或者我可以使用替代命令提示符?

thanks

谢谢

采纳答案by Michael B.

I would recommand that you use powershell

我建议你使用powershell

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx

http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx

It also support full screen mode, and some other nice feature.

它还支持全屏模式,以及其他一些不错的功能。

回答by paxdiablo

Click on the top left icon in the window (the "C:\"one) and select "Properties".

单击窗口左上角的图标(那个"C:\")并选择“属性”。

Then select the "Layout" tab and change the window size to what you want it to be (I have 128x50 for the screen and 128x999 for the scroll buffer). You can also optionally set the top left position (I always have it at 1,1) if you don't want Windows itself deciding where the window goes.

然后选择“布局”选项卡并将窗口大小更改为您想要的大小(我有 128x50 的屏幕和 128x999 的滚动缓冲区)。如果您不希望 Windows 自己决定窗口的位置,您还可以选择设置左上角的位置(我总是将它设置为 1,1)。

When you click on OK, make sure you tell it to modify the shortcut that started the window.

单击“确定”时,请确保告诉它修改启动窗口的快捷方式。

Then it will remember.

然后它会记住。

This is for XP, other MS operating systems may vary slightly but the general idea should be the same.

这是针对 XP 的,其他 MS 操作系统可能略有不同,但总体思路应该是相同的。

回答by Jay Riggs

Try this:

尝试这个:

  1. In the Command window, right click the Title bar and select Properties from the popup menu. The property sheet appears.

  2. In the property sheet, select 'Full Screen' in the 'Display Options' box.

  3. Close the property sheet by clicking OK and select 'Save proeprties for future windows with same title'.

  1. 在命令窗口中,右键单击标题栏并从弹出菜单中选择属性。属性表出现。

  2. 在属性表中,在“显示选项”框中选择“全屏”。

  3. 单击“确定”关闭属性表,然后选择“为以后具有相同标题的窗口保存属性”。

回答by AMissico

Command Window Default Properties

命令行窗口默认属性

Click on the sytem menu, or with focus set on the Command Windows, press Alt+Space, and select Properties. Change your Font, Window Size, and so on. I always change my Window Size (on the Layout tab) to Width 80 by Height 65 and Screen Buffer Size to 80 by 300.

单击系统菜单,或将焦点设置在命令窗口上,按 Alt+Space,然后选择属性。更改您的字体、窗口大小等。我总是将窗口大小(在布局选项卡上)更改为宽度 80 x 高度 65,将屏幕缓冲区大小更改为 80 x 300。

回答by Khanzor

Check out Console2, it seems to be about the most promising windowenhancement for cmd.exe.

查看Console2,它似乎是cmd.exe最有前途的窗口增强功能。

I have to say, cmd.exe is probably the worst part of windows! Especially the copy pasting support, etc.

不得不说,cmd.exe大概是windows最差的部分了!特别是复制粘贴支持等。

Personally, I use putty to ssh into a Linux box when I really need to do command line work, you can't go past Bash.

就我个人而言,当我真的需要做命令行工作时,我使用 putty ssh 进入 Linux 机器,你不能通过 Bash。

Even though you could install that on windows using Cygwin, which will allow you to use another console, although this doesn't have the ability to override the windows cmd.exe, it might be worth a shot given that you are trying to use a command line application, and not windows :).

即使您可以使用Cygwin在 Windows 上安装它,这将允许您使用另一个控制台,尽管这不能覆盖 Windows cmd.exe,但鉴于您正在尝试使用,它可能值得一试命令行应用程序,而不是 Windows :)。

回答by Suresh Kumar Msk

Access Propertiesby right clicking on top of the CMD window, go back to the Font tab, select either 10 x 18 or 12 x 16, and then click OK. You'll then need to go back to the Layout tab and reset the Screen Buffer Size Width to the appropriate value. For example, I selected the 10 x 18 font size and then changed the Screen Buffer Size Width to 160X300 and window size width to 134X37.

通过右键单击 CMD 窗口顶部访问属性,返回字体选项卡,选择 10 x 18 或 12 x 16,然后单击确定。然后,您需要返回到 Layout 选项卡并将 Screen Buffer Size Width 重置为适当的值。例如,我选择了 10 x 18 字体大小,然后将屏幕缓冲区大小宽度更改为 160X300,将窗口大小宽度更改为 134X37。