Solve the error message when running the bat file