相关疑难解决方法(0)

'<'运算符保留供将来使用

我正在使用PowerShell并尝试运行以下命令:

.\test_cfdp.exe < test.full | tee test.log
Run Code Online (Sandbox Code Playgroud)

test.full是一个模拟test_cfdp.exe命令行输入的脚本.但是,我收到以下错误:

The '<' operator is reserved for future use.
Run Code Online (Sandbox Code Playgroud)

有没有其他方法(即cmdlet)我可以用来使这个命令在PowerShell中工作?

powershell redirect io-redirection

44
推荐指数
3
解决办法
4万
查看次数

标签 统计

io-redirection ×1

powershell ×1

redirect ×1