title: Insert text into a file (.bat) as well as increase a number sequentially
body: <p>For instance, I am creating reboot scripts for about 400 servers to reboot every night. I already have the task scheduler portion done with a script.</p>
  
  <p>What I need is, how to insert "shutdown /r /m \servername-001 /f" into a file called "servername-001_Reboot.bat".
  and in the same script change the 001 to 002 into the next batch file and so on and so forth.</p>
  
  <p>Unless someone has a more efficient way of doing an automated reboot schedule.</p>