more 命令返回“命令行中的参数过多”

MrE*_*Sir 3 windows command-line more

我有一台 Windows 10 机器,运行该more命令会返回“命令行中的参数过多”。如果我传递任何文件名,无论文件是否存在。

到目前为止,我只在一个 Windows 10 Home 64 位 x64 系统上看到过这个。

运行where more回报C:\Windows\System32\more.com正如我所料。

这是more预期的行为吗?我从未在以前版本的 Windows 上遇到过这种情况。

Joe*_*orn 5

我只是在我自己的系统上重现了您的问题。我肯定明白你在说什么......但我以前从未注意到它,因为我总是使用more管道(|),如下所示:

type filename.txt | more
Run Code Online (Sandbox Code Playgroud)

该命令在我的系统上运行良好。