User`s manual

Appendix
D-13
Ghost Command Line Switches Reference
Ghost may be executed in interactive or in batch mode. Most of the Ghost switches
are used to assist in batch mode operation. To list switches, type ghost.exe -h.
-clone
The full syntax for this switch is:
clone,MODE={copy|load|dump|pcopy|pload|pdump},SRC=
{drive|file|drive:partition|,DST={drive|file|drive:partition},SZE{F|L|n=
{nnnnM|nnP|F|V}}
Clone using arguments. This is the most useful of the batch switches
and has a series of arguments that define:
a) MODE Defines the type of clone command, can be:
COPY disk to disk copy
LOAD file to disk load
DUMP disk to file dump
PCOPY partition to partition copy
PLOAD file to partition load
PDUMP partition to file dump
b) SRC Defines the source location of the command:
Mode Meaning:
COPY/
DUMP Source drive (e.g, 1 for drive one)
LOAD
Disk image filename or device (e.g, g:\Images\system2.img)
PCOPY/
PDUMP Source partition e.g, 1:2 indicates the second partition
on drive one.
PLOAD Partition image filename or device and partition
number. Example: g:\images\disk1.img:2 indicates the
second partition in the Image file.