How do I scroll in MS-DOS?

Question

How do I scroll in MS-DOS?

Answer

MS-DOS / Microsoft Windows shellTip: There are no scrollbars in any version of MS-DOS or any version of Microsoft Windows when the command line window is full screen. To change between a full screen and a window mode version of the command line in Windows press the ALT + Enter shortcut key.

Listing files or command output one page at a time

To list files in MS-DOS one page at a time use the 'pipe' ( | ) command in conjunction with the more statement, as shown in the below examples.

dir | more

or

attrib *.* | more

In addition, some commands, such as the dir command, also allow the /p command that displays one page at a time, as shown in the below example.

dir /p

Additional information

  • Category
  • MS-DOS Q&A
  • Companies
  • Microsoft
  • Solved?
  • Were you able to locate the answer to your question?