我正在尝试使用>>将一个文件的内容附加到另一个文件中批处理文件中的运算符。但是,它不接受>>我如何使这项工作?
set S1=type "\\scc-fs\common\Accounting\2_AcctsPayable\5_Expense_Distribution\3_MAR\tmp.xls"
set s2=>>
set s3="\\scc-fs\common\Accounting\2_AcctsPayable\5_Expense_Distribution\3_MAR\%filename%.xls"
set scopy=%s1% %s2% %s3%
%scopy%
答案 0 :(得分:1)
行情
set "S1=type "\\scc-fs\common\Accounting\2_AcctsPayable\5_Expense_Distribution\3_MAR\tmp.xls""
set "s2=>>"
set "s3="\\scc-fs\common\Accounting\2_AcctsPayable\5_Expense_Distribution\3_MAR\%filename%.xls""
set "scopy=%s1% %s2% %s3%"
%scopy%