If you have no clue what batch is, but want to learn it, refer to the "Very Basic Batch Tutorial".
In this tutorial you will learn more advanced commands and how to use them to create an application.
Step 1: Variables Step (1/3)
When we create a variable, we are creating something that we want the computer to remember for us, something that we can use later on in a program;
we give the computer the value that we want to store and we give it a label to store it under.
we can create integers and strings using variables.
To create a variable you need to learn the SET command.
The SET command is what creates variables;
Type the following into your CMD:
'name' is the name of the variable, and 'hello' is what the variable is storing
so now every time you type "echo name" it should say "hello" yes?
if you want to display a variable you must put percentage (%) signs around it.
So therefore if you type "echo %test%" and it should say "hello" yes?