引用:
oislone寫到:
升級版
:label1
test.exe >> log1.txt
type log1.txt
copy log1.txt+log.txt logall.txt
del log1.txt
del log.txt
rename logall.txt log.txt
del logall.txt
goto label1
大概可以吧
再修改一下
:label1
test.exe > log.txt
type log.txt
type log.txt >> logall.txt
goto label1
說明:
> 相當於output, >>相當於append