Compaq PC100 Computer Hardware User Manual


 
Appendix
A-13
Ghost Command Line Switches Reference
Ghost may be run in interactive or in batch mode. Batch mode is useful for automat-
ing installations for backups using Ghost. Most of the Ghost switches are used to
assist with batch mode operation. To list switches from Ghost, 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 This defines the type of clone command to be used:
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 This defines the source location for the operation:
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.