Basics of Batch File Programming. Path: path i.e. Different variables set as path. Like to go to system drive just type cd /d%windir% and u will be in system directory from any drive. /d is used to change drive with the directory. They are important because not always the system drive will be c: it can be any other depending on systems.
Batch File Programming Tutorial
Advanced Batch File Programming Pdf
PLEASE DIRECT ANY QUESTIONS YOU MAY HAVE TO MY BLOG:
http://tamsanh.com/blog/2008/07/11/batch-tutorial-3-advanced-batch/
I do not visit instructables anymore, and you will get a faster response that way.
Hey Guys! Tam Nguyen here. It's been a long time coming, but it's here now! I present to you the next instalment of my Batch Tutorials!
You may (or may not) have read my other instructables:
Basics of Batch
Slightly More Advanded Batch
This Instructable borrows some elements from the first two Instructables. Namely:
ECHO Command
CD Command
DIR Command
If you have not read the other two, I suggest looking over those commands right-quick. I'll wait here.
Ok!
By the end of this Instructable, you will be intimate with:
START Command
SET Command
IF Command
GOTO Command
and
> and >> Parameters
With these commands, you will be able to make dynamic batch files which can change according to user input, and create and expand.
So let's open up that good 'ol Command Prompt and get started!
Run -> cmd
Alternatively, you can go to:
Start->Program Files->Accessories->Command Prompt
My explainations in this instructable got a little long, so I've split up some commands into more than one page mainly for aesthetic purposes; I liked seeing the pictures while reading the text without having to scroll up and down.
Rule of thumb for picture viewing; Usually after every Code Snippet, there is a picture.
Enjoy!