Extended batch file with a extra parameter so a id range can be specified