a quick mechanism to iterate through params in batch script