You will need to rewrite the batch file as either a shell script (if you intend to run it from the command line) or an AppleScript (if you intend to run it by double-clicking) or an AppleScript that runs a shell script (because, well, shell scripts are usually easier to write than straight AppleScripts for such things.)
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.