Write into batch file:
Just right click and edit file into notepad. now we can write a command which is applicable over command prompt. Here I am taking a very simple example of create a directory under "C:\" drive. Type the following command into "Batch/.bat" file -
"MD c:\TestBatch" and save. Now double click on the batch file.
Execution of the batch file will create a directory named "TestBatch" under "C:\" drive. To verify this go to "C:\" drive and check for "TestBatch" directory. It should be created. So in the same manner we can also write other complex commands.