【发布时间】:2014-01-06 08:48:24
【问题描述】:
我有一个带有以下行的 .bat(批处理)文件,最后一行 echo 没有运行。
set outputfile=C:\DeployLog-label-test.txt
echo ----- Start File 1 of 1 ----- >> %outputfile%
pushd C:\src&ant -Dinifile=C:\repo\IR.ini -Dfilelist="label.xml" >> %outputfile% 2>&1&popd
echo ----- End File 1 of 1 ----- >> %outputfile%
是因为 pushd 命令吗? 请帮忙。谢谢。
【问题讨论】:
标签: windows batch-file command-line command