Share via

Configure the command prompt

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To configure the command prompt

  1. Open Command Prompt.

  2. Click the upper-left corner of the Command Prompt window, and then click Properties.

  3. Click the Options tab.

  4. In Command History, type or select 999 in Buffer Size, and then type or select 5 in Number of Buffers.

  5. In Edit Options, select the Quick Edit Mode and Insert Mode check boxes.

  6. Click the Layout tab.

  7. In Screen Buffer Size, type or select 2500 in Height.

  8. Do any of the following optional tasks:

    • In Screen Buffer Size, increase Width.

    • In Window Size, increase Height.

    • In Window Size, increase Width.

    • Clear the Let system position window check box, and then, in Window Position, change the values in Left and Top.

  9. In the Apply Properties dialog box, click Save properties for future windows with same title.


  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • To open Command Prompt Properties from the keyboard, press ALT+SPACEBAR+P.

  • By selecting the Quick Edit Mode check box, you enable copy and paste from the Command Prompt window. To copy, select the text in the Command Prompt window with your left mouse button, and then right-click. To paste, either at the command prompt or in a text file, right-click.

  • By increasing the screen buffer size to 999, you enable scrolling through the Command Prompt window.

  • By increasing the number of buffers to five, you increase the number of lines in the Command Prompt window to 5000.

  • To enable or disable file and directory name completion on a computer or user logon session, run Regedit.exe and set the following REG_DWORD value:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\CompletionChar\REG_DWORD

    To set the REG_DWORD value, use the hexadecimal value of a control character for a particular function (for example, 0×9 is TAB and 0×08 is BACKSPACE). User-specified settings take precedence over computer settings, and command-line options take precedence over registry settings. For more information about file and directory name completion, see Related Topics.


    • Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also


Command-line reference A-Z
Command shell overview