For loop in DOS

This is how to do a for loop in MS-DOS

for %%I in (OWNER1 ^
OWNER2 ^
OWNER3 ) ^
do d:perlbinperl blah blah “%BJS_JOB_NAME% for database” %%I

Advertisements