• How To?
  • Tips ‘n Tricks
  • WordPress
  • Snippets
  • Software
    • Browsers
    • Downloads
  • Web
  • Tools
    • Character Counter
    • chmod Calculator
    • Entities Encoder
    • Live HTML Editor
    • My IP
  • Contact
Twitter Facebook Google+ RSS
You are here: SumTips » How To? » Increase Command Prompt and PowerShell Width & Line History

Increase Command Prompt and PowerShell Width & Line History

Posted on June 19, 2012 by Renji | Short URL: http://sumtips.com/?p=6869

By default Command Prompt is set to 80 characters width in Windows. It’s not constrained to that width, but it has been like that from the DOS days where CRT displays were 80 characters wide. PowerShell has a width of 92 characters with buffer size width of 120. If you find these widths are preventing you from seeing all the information in an easy to read format on the console, here’s you can change it:
Resize Consoles

Increase Command Prompt and PowerShell Window Width

You can’t simply drag and re-size these console windows like all other windows. What you need  to do is set a specific width in the program’s settings. Both the consoles settings are changed in the same way, so below instructions will work on both:

  • Find Command Prompt or PowerShell by searching for it in the Start Menu search box, and launch it.
  • Right-click on the program’s border and select Properties
  • Inside the Properties window, switch to Layout tab and change the Window Size width to the exact width you want
  • Click OK to save your changes

You should be able to see the changes immediately.

By changing only the Screen Buffer Size Width value, you can accommodate more text in a line with the default window size intact. This will give you a scrollable & resizable window.

Increase Command Prompt and PowerShell Line History

Another setting you can change in the Layout tab is the line history. By default Command Prompt is set at 300, and PowerShell at a whopping 3000 lines. If you’d like to see more command line history, increase Screen Buffer Size Height value to what you want.

By changing these two settings to your current screen resolution, you can have a full-screen maximized console window.

These settings work on Windows XP and above operating systems.


Tweet

Related posts:

  • Aero Transparency for the Command Prompt
  • Save or Print Output from Windows Command Prompt to a Text File
  • Open Command Prompt And Task Manager When Installing Windows
  • Increase Number of Recently Closed Tabs Firefox Can Restore
  • Automatically Switch Windows Theme When on Laptop Battery
Categories: How To?, Windows | Tags: Command Prompt, Windows
Assign Permanent Drive Letter to USB Devices in Windows
How to Disable Windows 8 & Internet Explorer 10 Spell Check ?

  • Get Updates via Email

  • Recent Posts

    • CMS2CMS: Migrate Site from Drupal or Joomla to WordPress
    • WordPress: Add Preview Button in Distraction Free Writing
    • How to Activate or Deactivate Individual Jetpack Modules
    • Windows 8: Auto Update Defender with Windows Update Disabled
    • Automatically Start and Close Programs at Specific Time
    • How to Copy Code from Notepad++ with Syntax Highlighting
  • Random Posts

    • Create Custom Windows Run Shortcuts for Any Software or File
    • Change "Enter title here" text for Post, Page and Custom Post Type in WordPress
    • How to Delete Files and Folders as a Different User in Windows
    • Remove Website and Email Fields from WordPress Comment form
    • Get Compact Layout in New Google Reader
    • Listen to Free Music in Hindi, English and more on Gaana
  • Categories

    • Blogging
    • Games
    • Google
    • How To?
    • Linux
    • Microsoft
      • Windows
    • Miscellaneous
    • Phone
    • Snippets
      • AutoHotkey Snippets
      • CSS Snippets
      • htaccess Snippets
      • JavaScript Snippets
      • PowerShell Snippets
      • WordPress Snippets
    • Social
    • Software
      • Browsers
    • Tips 'n Tricks
    • Wallpapers
    • Web
© SumTips. Contact | Sitemap | Privacy Policy