168 Command-line switches
Clone switch usage
SRC defines the source for the operation selected by the clone mode option.
Table A-3 Source options for cloning
Switch Source Explanation
disk drive number Source disk drive number. Numbers start at 1. For example:
SRC=1
A partition on a drive can also be specified. Numbers start at
1. For example:
SRC=1:2
file filename The source image file name. For example:
SRC= g:\source.gho
A partition in an image file can also be specified. For
example:
SRC=g:\source.gho:2
Files can also be read from a CD-ROM drive.
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:
src=1:2\image.gho
In this example, Image.gho resides on an NTFS file system on
the second partition of the first disk.
tape @MTx The tape drive number. Numbers start at 0. For example:
SRC=@MT0
A partition on a tape can also be specified. For example:
SRC=@MT0:3
CD
ROM
@CDx The CD or DVD drive number. 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 you are
specifying an operation from the command-line.
You can specify partitions for the image stored on a CD for a
restore operation. For example:
SRC=@CD1:2