Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要测试一堆 FLAC 文件并将所有错误放入一个 txt 文件中。我使用了以下非常常见的语法,通常适用于所有程序:
c:\temp\FLAC\flac.exe -t myflacfile.flac >> c:\temp\report.txt
但令人惊讶的是它不起作用!不知道为什么无法捕获错误消息。报告文件已创建。请分享你的想法,因为'我在网上没有找到关于它的消息。
问题在于语法。在输出文件名之前的命令行中有额外的空格。类似的命令
flac.exe -t 1.flac 2>>a.txt
或者
flac.exe -t 1.flac 2>a.txt
运作良好。