Picture of Basic Batch

In this Instructable I will show you the basics of CMD and batch files, below is a picture of my cmd window.

This is my first instructable!!!

Remove these adsRemove these ads by Signing Up

Step 1: Starting CMD

Picture of Starting CMD
To Start CMD go Start>Run and Type CMD, or Start>All Programs>Accesories>CMD/Command Prompt but if you still can't find it download the file below, then start it.

To Download a File Right Click and Select Save Target and save it as Whatever.bat
CMD.bat34 bytes

Step 2: Batch

Picture of Batch
Batch is a CMD but written in notepad
this means that instead of going to CMD you can also go to notepad
start>All Programs>Accersories>Notepad or download my file below.
after notepad is open you can write all the commands into notepad and save it as Whatever.bat remember change the drop down menu text documents to all files like shown below.
Notepad.bat38 bytes

Step 3: Basic Commands

Picture of Basic Commands

 Here I will tell you some of the basic  CMD commands,

echo - This is a way you can insert text into the cmd window.
pause - This pauses CMD (This should be used after echo to keep the text on the screen).
exit - This exits the CMD window.
start - You Can start programs with this (You can put just the name in here if its in the windows folder otherwise you need a directory).
del - Deletes files (You May Need a Directory for this).
copy - Copies files (You Need 2 Directory's for this the starting 1 and the directory you want the file to end up ).
Move - Moves Files  (You Need 2 Directory's for this the starting 1 and the directory you want the file to end up ).
%random% - Random Numbers (To See Numbers put %random% after echo)


this is a very nice instructable, continue working on the interface file, if you need some inspiration visit Tatcreator's instructable, TAT subsystem, and also view my instructable, The Megafile, and again very nice instructable.

And don`t forget my BAT32!
vorlock (author)  Psychic Master5 years ago
Thank you,
This was my first Instructable and I chose something simple to start off with. At the moment I am making another Instructable about Batch Pranks which involves non-stop frezzing and the computer shutting down at startup. (Not Yet Published) 
What happened to step 3 on your instructable, and I cut the file on the end in half because the first bit is confusing and i wanted to make it bigger before I showed someone the whole piece.
lemonie5 years ago
There are so many basic DOS / .bat Instructables and a vast amount of stuff elsewhere on the internet that it would be worth showing something new / different / unique or novel. It doesn't have to be super-complex, but of some real use and not seen before.
You appear to have used the same image 5 times, it would be better to take screenshots of the actual code you're referring to in the steps.

vorlock (author)  lemonie5 years ago
Thanks for the tip, but i had the same picture 5 times because i kept on getting big grey squares on the screen. But i will change the pictures.
lemonie vorlock5 years ago
Yes, I think it may be a file-format thing, but if it isn't post a Forum topic in Help: Bugs

vorlock (author)  lemonie5 years ago
Finished it  take a look at the new pictures.
lemonie vorlock5 years ago
Ah yes. But the password in the .bat is "Thomas" not "Cows", isn't it?

vorlock (author)  lemonie5 years ago
It was Thomas but i forgot to update the file so now it is not thomas or cows but cow.

(just updated file)

Could you please take a look at Batch Pranks for me