'<'运算符保留供将来使用 [英] The '<' operator is reserved for future use
本文介绍了'<'运算符保留供将来使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用PowerShell,并且正在尝试运行以下命令:
I am using PowerShell and am trying to run the following command:
.\test_cfdp.exe < test.full | tee test.log
test.full是一个脚本,模仿到test_cfdp.exe的命令行输入.但是,出现以下错误:
test.full is a script that mimics command line inputs to test_cfdp.exe. However, I get the following error:
The '<' operator is reserved for future use.
还有另一种方法(即cmdlet)可以使该命令在PowerShell中工作吗?
Is there another way (i.e. cmdlet) I can use to get this command to work in PowerShell?
推荐答案
This was not supported in PowerShell v1 [and as of v5, it's still not...]
解决方法示例:
Get-Content test.full | .\test_cfdp.exe | tee test.log
这篇关于'<'运算符保留供将来使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文