You don't tell which batch processor you use, so I can't check the manual, but let me guess the reason.
As you, as a programmer, knows: 074 (octal) = 60 (decimal). So if that particular batch processor happens to have the rule that numbers starting with zeroes are octal numbers, and numbers starting with 1 to 9 are decimal numbers, that neatly explains why the batch only loops to 60, not to 74: because you programmed it like that!
Moreover, I wouldn't call it 'abort'. Abort, as you know as a programmer also, generally means stopping because of an error (and usually explaining it with an error code or error message). This seems to be just a regular stop because it's ready.
Kees
Hi. I have the bollowing batch script which aborts after i=60. The files exist above that number. Can anyone suggest a reason?
@echo off
setlocal enabledelayedexpansion
set TOPAS_folder=C:\Topas4-2
set inp_folder=C:\directory
cd /d "%inp_folder%"
REM md subfiles
del combined.txt
move /y file_backup.inp file_start.inp
copy /y file_start.inp file_backup.inp
cd /d "%TOPAS_folder%"
for /l %%i in (000,1,074) do (
set "formattedValue=000000%%i"
echo !formattedValue:~-3!
tc "%inp_folder%"\file_start.inp "macro run_number {!formattedValue:~-3!} #define GUI_LINES #define compound"
copy "%inp_folder%"\file_start.out "%inp_folder%"\file_start_!formattedValue:~-3!.inp
move /y "%inp_folder%"\file_start.out "%inp_folder%"\file_start.inp
)

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic