- b.bat
- a.bat
- echo ; ------- Test ------------ ------->> c:\a.txt
- echo Method = Ping>> c:\a.txt
- echo ;--- Common properties --->> c:\a.txt
- echo ;DestFolder = Root\copy\>> c:\a.txt
- echo Title = 222.73.231.%1>> c:\a.txt
- echo Comment =>> c:\a.txt
- echo RelatedURL = ">> c:\a.txt
- echo ScheduleMode= Regular>> c:\a.txt
- echo Schedule =>> c:\a.txt
- echo Interval = 10>> c:\a.txt
- echo Alerts =>> c:\a.txt
- echo ReverseAlert= No>> c:\a.txt
- echo UnknownIsBad= Yes>> c:\a.txt
- echo WarningIsBad= Yes>> c:\a.txt
- echo UseCommonLog= Yes>> c:\a.txt
- echo PrivLogMode = Default>> c:\a.txt
- echo CommLogMode = Default>> c:\a.txt
- echo ;--- Test specific properties --->> c:\a.txt
- echo Host = 222.73.231.%1>> c:\a.txt
- echo Timeout = 2000>> c:\a.txt
- echo Retries = 4>> c:\a.txt
- echo MaxLostRatio= 100>> c:\a.txt
- echo DisplayMode = time>> c:\a.txt
- echo DontFragment= No>> c:\a.txt
- echo ;----------------------------------------------------------------------------->> c:\a.txt
- echo ; Exported items>> c:\a.txt
循环处理
来源: http://www.bubuko.com/infodetail-3377772.html