|Batch File Tips and Tricks|
If you are after information on how to execute batch files during installation then have a look at the "ExeCa" command as this section describes some useful things to know.
You need to be very careful to confirm that the features you use exist in the operating systems you are supporting, a lot (but probably not all) of the following is likely to work in WINNT+ (WINNT, WIN2000, WINXP etc).
The most useful standard Windows commands are probably (use the "/?" switch on command to see its documentation):
Some tips on specific commands:
SetLocal ENABLEEXTENSIONS ... if /I "%Answer%" == "NO" goto NO_or_no_or_No_etc
There are many interesting web sites where you can get more information (a good google should find them), there are quite a few good tips (and subroutines) at the "Batch Function Library for Windows NT4/2000/XP/2003" site.
The following sections have specific tips:
|Batch Files - External Links|
Some good external links: