Fix batch script