I thought it might be helpful to post a few links to reference material that I often use when writing batch files. Other users might like to add to the list.
"Computer Hope" is a good source of documentation, some of it dating right back to the days of DOS but still useful for writing batch files today
Batch File Help
There are links there under "Quick Links" covering all the available batch commands. One very powerful command that I often use is
The FOR command
Complete documentation of all the commands can also be found in the Microsoft Technet library. Choose whichever you find the easier to follow.
Batch Commands A-Z
... and two from the Microsoft Windows XP documentation that you might find helpful
Using Batch Parameters
Using Command Redirection
"Computer Hope" is a good source of documentation, some of it dating right back to the days of DOS but still useful for writing batch files today
Batch File Help
There are links there under "Quick Links" covering all the available batch commands. One very powerful command that I often use is
The FOR command
Complete documentation of all the commands can also be found in the Microsoft Technet library. Choose whichever you find the easier to follow.
Batch Commands A-Z
... and two from the Microsoft Windows XP documentation that you might find helpful
Using Batch Parameters
Using Command Redirection