Windows Central published a tutorial about creating and running a batch script on Windows 10.
Running your first batch script on Windows 10
In this guide, we'll show you the steps to get started creating and running your first batch file to automate tasks on your Windows 10 device.
Running your first batch script on Windows 10