When you write batch files (Dos only) to automate DiskDupe, it's often useful to change
certain options while retaining the format of the batch file (Dos only). By using
replaceable parameters you can type the name of the batch file (Dos only) followed by a
value for a particular feature, such as a drive letter or the number of
copies. In Dos, a replaceable parameter is indicated by a percent sign
followed by a number, such as %1. A second replaceable parameter would be %2,
and so on. The actual values for these are given in order on the command-line,
following the name of the batch file (Dos only).
The following batch file (Dos only) makes an image file from a disk in the drive letter
you type to replace %1 and, in the same drive, makes however many copies are
specified by the value that replaces %2.
DISKDUPE %1 IMAGE1.DDI /DUP /NOWAIT
DISKDUPE IMAGE1.DDI %1 C%2 /DUP /NOWAIT
If the batch file (Dos only) was called DDCOPY.BAT you could make 50 copies in the B:
drive with the command DDCOPY B: 50. %1 in the batch file (Dos only) will be replaced
with "B:" and %2 with "50."