Here's a step-by-step guide on how to make and run a .bat file on Windows. Check this simple guide to…