more
小猪老师 发表于 2020-06-23 16:39浏览次数:
The more command displays additional information one page at a time.
目录:
1 more 运行系统环境
2 more 语法
3 more 示例
more 运行系统环境
Windows 95
Windows 98
Windows xp
Windows vista
Windows 2000
Windows 7
Windows 8
Windows 10
Windows NT
Windows ME
All Versions of MS-DOS
more 语法
Windows XP and 2000 语法
MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
MORE /E [/C] [/P] [/S] [/Tn] [+n] [files]
[drive:][path]filename
|
指定每次显示一个屏幕的文件。
|
command-name
|
指定要显示其输出的命令。
|
/E
|
启用扩展特性。
|
/C
|
显示页面前清除屏幕。
|
/P
|
展开换料字符。
|
/S
|
将多个空行压缩为一个行。
|
/Tn
|
将制表符扩展为n个空格(默认为8个)。开关可以出现在MORE环境变量中。
|
+n
|
开始在第n行显示第一个文件。
|
files
|
要显示的文件列表。
列表中的文件用空格分隔。
|
如果扩展功能是启用的,以下命令是accepted at the -- More -- prompt:
P n
|
显示下n行。
|
S n
|
跳过下n行。
|
F
|
显示下一个文件。
|
Q
|
退出。
|
=
|
显示行号。
|
?
|
Show help line.
|
< space >
|
显示下一页。
|
< ret >
|
显示下一行
|
Microsoft Windows 2000 和 Windows XP 故障恢复控制台语法
在屏幕上显示一个文本文件。
more [filename]
Windows 95, 98, 和 ME 语法
一次显示一个屏幕的输出。
MORE [drive:][path]filename
MORE < [drive:][path]filename
command-name | MORE [drive:][path][filename]
[drive:][path]filename
|
指定每次显示一个屏幕的文件。
|
command-name
|
指定将显示其输出的命令。
|
Windows XP and 2000 syntax
MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
MORE /E [/C] [/P] [/S] [/Tn] [+n] [files]
[drive:][path]filename
|
Specifies a file to display one screen at a time.
|
command-name
|
Specifies a command whose output to show.
|
/E
|
Enable extended features.
|
/C
|
Clear screen before displaying page.
|
/P
|
Expand form feed characters.
|
/S
|
Squeeze multiple blank lines into a single line.
|
/Tn
|
Expand tabs to n spaces (default 8). Switches can be present in the MORE environment variable.
|
+n
|
Start displaying the first file at line n.
|
files
|
List of files to show. Files in the list are separated by blanks.
|
If extended features are enabled, the following commands are accepted at the -- More -- prompt:
P n
|
Display next n lines.
|
S n
|
Skip next n lines.
|
F
|
Display next file.
|
Q
|
Quit.
|
=
|
Show line number.
|
?
|
Show help line.
|
< space >
|
Display next page.
|
< ret >
|
Display next line.
|
Microsoft Windows 2000 and Windows XP Recovery Console syntax
Displays a text file to the screen.
more [filename]
Windows 95, 98, and ME syntax
Displays output one screen at a time.
MORE [drive:][path]filename
MORE < [drive:][path]filename
command-name | MORE [drive:][path][filename]
[drive:][path]filename
|
Specifies file(s) to display one screen at a time.
|
command-name
|
Specifies a command whose output will is shown.
|
more 示例
dir | more
允许您查看列出一页的目录(如果适用)。
这个命令与执行dir /p命令相同。
more myfile.txt
每次显示一个页面的内容。
按空格键会转到下一页,按回车键一次一行。
dir | more
Allows you to view the directory listing one page at a time, if applicable. This command is the same as doing dir /p.
more myfile.txt
Displays the contents of a page one page at a time. Pressing the spacebar would go to the next page and pressing Enter would go down one line at a time.