batch script: remove unnecessary lines