169Command-line switches
Clone switch usage
Setting a destination for the clone switch
The syntax for this switch is as follows:
DST={disk | file | tape | cd/dvdwriter}
DST defines the destination location for the operation.
Setting a destination size for the clone switch
SZE sets the size of the destination partitions for either a disk restore or disk copy
operation. This is optional. Multiple partition size switches are supported.
Table A-4 Destination options for cloning
Switch Destination Explanation
disk drive The destination disk drive number, such as DST=2
A partition on a drive can also be specified. For example:
DST=2:1
To create a new partition, type a destination partition one
greater than the existing number of partitions, if there is
enough free space.
file filename The destination image file name. For example:
DST= g:\destination.gho
To specify a file located on a file system not recognized by
DOS, such as NTFS, use the same format as the disk switch,
specifying both a disk and partition. For example:
dst=1:2\image.gho
In this case, Image.gho is created on the NTFS volume that
resides on the second partition on the first disk.
tape @MTx The tape drive number. Numbers start at 0. For example:
DST=@MT0
cd/
dvdwriter
@CDx The CD or DVD writer drive number. Numbers start at 1. For
example:
DST=@CD1
If you have a CD reader and a CD writer, in the Ghost.exe
user interface you would see @CD1 and @ CD2. The number
is optional if specifying an operation from the command-
line.