我试图运行一个显示多个文本屏幕的命令,并且我尝试使用more
命令,但它似乎无法正常工作。
当我尝试使用这样的命令时:
Get-Help Get-Alias -full | more
我收到一条错误消息:
more.com : The term 'more.com' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:14 char:14
+ $input | more.com
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (more.com:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
任何人都有任何想法?
答案 0 :(得分:0)
原来,powershell.exe不在路径中。