代码如下:
@echo off :again rand.exe echo "rand finish" asd.exe echo "1.exe finish" 未命名1sfa]f.exe echo "2.exe finish" fc out1.txt out2.txt if not errorlevel 1 goto again pause
省时省力,极为方便。