Batch files are available for Windows 7, 8, and 8.1. Any command that you can put in the CLI, you should be able to put into the BAT file.
- Right-click on your desktop (or in File Explorer), and select New->Text Document. Now, rename the file to something ending with .bat.
- Open Notepad, then when you save the file, make sure to end it with ".bat".
|Saving a Batch file requires a .bat ending.|
Now that you have the BAT file, you can easily test that it works by putting in the following code, then double-click to run the file.
echo Hello, World!
Here's some more things you can try out: Windows Command Prompt Cheat Sheet
Note: If method 1 didn't work for you, then try method 2.
~ Danial Goodwin ~