Search found 1 match
- 16 Sep 2008 07:21
- Forum: DOS Batch Forum
- Topic: Read file repeatedly
- Replies: 0
- Views: 7889
Read file repeatedly
Hi, I have to write a batch script to check the results of another program. My code looks like this: @echo off Set ids=1,2,3,4,5,6,7 FOR %%i IN (%ids%) DO ( timeout 5 CALL :CheckResult ECHO ID: %%i Result: %myResult% ) GOTO :END :CheckResult FOR /F "eol=; tokens=* delims=, "...