Thanks for your help. I tried the suggested code but still was not happening then using the suggested code changed to this block: :CounterLoop /if (${Ini[${FileName},${SectionName},${ArrayType}${nValues},NULL].Equal[NULL]}) { /varcalc nValues ${nValues}-1 /goto :MakeArray } /varcalc nValues ${nValue...