1.Click Start.

2.Type Notepad in the Run box and press Enter.

3.Once Notepad is open, type the batch codes.

4.Click File and then Save, and then navigate to where you want to save the file. For the file name, type Buycode.bat

5.Click the Save button and exit notepad.

6.To run the batch file, double-click it.