This article explains how to create a batch file in Windows 10 using Notepad, how to add comments, and provides a list of commonly used commands.
How to Create a Simple Batch File in Windows 10/8/7
Creating a batch file in Windows 10 is as simple as typing the commands you want to execute into a blank Notepad document, and then saving the document as a .bat file instead of a text document. You can then run the file by simply clicking on it, which will automatically launch the Windows Command Shell and execute your commands.
Here's how to create a simple batch file in Windows 10:
Type Notepad in the search bar and click on the Notepad app when it appears in the results.