Batch Files |
A batch file at its simplest is simply a set of commands listed one per line, this is a simple (if useless) example:
@echo off cls del "%temp%\*.tmp" del "%windir%\temp\*.tmp"
You may find some of my free Windows and DOS tools useful for use in batch file ("LOG.EXE" in particular).
You may be executing the batch file as a custom action at install time, if so please ensure it returns a decent return code (don't just use the "AnyRc" attribute). You should also question whether what the batch file is doing could be done natively by the MSI, if so do the work up front, it will pay off in the end.
Some links to other sections of this document are:
Batch Files - External Links |
Some good external links: