bat問題 - Windows

Table of Contents

想弄個程式來處理程式結果:
for %%a in (1 2) do (
for %%c in (1 2 3 4) do (

for /f "delims=" %%i in (result%%a-%%c.txt) do (
set foo=%%i
)
echo %foo%--%%a--%%c>>zzzz.txt
)

)

可是zzzzz.txt裡出現的八行都是一樣的
另外抓最後一行有無更快的方式呢?

--

All Comments