DEV Community

Victor James
Victor James

Posted on • Originally published at on

MORE Windows Command



The MORE windows command-line tool is for displaying the output, one screen at a time. Read further to know more about this command with syntax and examples.

CMD Line

CMD Line is a text-based interface that transfers the command from the user to the OS.

CLI-Command Line Interpreter

The command-line interpreter (CLI) for windows is CMD.EXE. Also, you can use PowerShell which can automize many system administration tasks and these tasks are not approachable in command prompt. With the help of the CLI, you can communicate with your system by typing the text in commands. As a result, your system answers to the text that you have typed previously, and then the user can proceed with the next command line that shows up.

To open the Run command Window

Run command window helps you to run programs, open the files and folders. And there are several ways to open up the run command dialog box. This run command box is useful for you to head straight to the destined program easily.

By using the Keyboard shortcut Key:


One of the most commonly used methods is the Shortcut key method. Also, this method is in all versions of Windows. You need to press the Windows+ R key concurrently to open the Run command dialog box.

Run command box
Run command box

What does the MORE command do?

The MORE windows command-line tool is for displaying output one screen at a time. This command can be used to TYPE the contents of any file to the screen. This command is used to run any executable command and pause the screen output one screen at a time. The MORE command is an external command.


      command | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]

      MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < Pathname

      MORE /E [/C] [/P] [/S] [/Tn] [+n] [Pathname(s)]

Enter fullscreen mode Exit fullscreen mode

Parameter Explanation

  • command – Specifies any executable command or batch file.
  • Pathname – The file to be displayed, if there are two or more words separate it will space.
  • /E – Enables extended features.
  • /E /CClears the screen before displaying page.
  • /E/P – Expand Form Feed characters.
  • /E /S – Squeeze multiple blank lines into a single line.
  • /E /Tn – Expand tabs to n spaces and the default 8.
  • /E+n – Start displaying the first file at line n.

One can form an environment variable called %MORE% and use this to supply any of the above switches.

  • Until the file contains more than 65,536 lines , the output of MORE is redirected to a file it will not prompt for the next page.
  • If extended features are enabled, the following keystrokes are accepted at the — More — prompt

    • – Display next page.
    • – Display next line.
    • Q – Quit.
    • P n – Display next n lines.
    • S n – Skips next n lines.
    • F – Display next file.
    • = – Show line number.
    • ? – Show helpline.


You can use | Out-Host -Paging in preference to MORE in PowerShell thus it yields results immediately through the PowerShell pipeline, without waiting first to collect all the incoming data.


  • In order to Convert a Unix text file (LF line endings) to a Windows text file (CR/LF)

TYPE UnixFile.txt | MORE /E /P > WindowsFile.txt

Enter fullscreen mode Exit fullscreen mode


In this guide, we have stated the MORE windows command-line tool with its syntax and examples. Hope you find this article a useful one. Leave your valuable comments in the comment box regarding this article.

Related Articles

  • MD The MD windows command-line tool is for creating a new directory. By using this MD windows command, you can create one or multiple folders or directories.
  • MORE The MORE windows command-line tool is for displaying output one screen at a time. The MORE command is an external command.
  • ERASE The Erase command deletes one or more files or file systems. Also, this command is similar to the Del windows command. ERASE is an internal command. ERASE command is equivalent to DEL.
  • ECHO The ECHO windows command-line tool is to display the message on the screen. This command turns the ON/OFF command echoing feature. ECHO is an Internal command.
  • ENDLOCAL The End local command is to end localization of environment changes in a batch file which was modified by the set local command. ENDLOCAL is an internal command.

The post MORE appeared first on Windows Commands- SS64 Commands.

Discussion (0)