Listing command-line switches
The Ghost switches can be listed in the command-line.
To list Symantec Ghost command-line switches
◆
In the Ghost directory, type one of the following:
■
ghost.exe -h
■
ghost.exe -?
Command-line switches
This section describes the command-line switches that you can use with Ghost.
In most cases, these switches apply to all versions of the Ghost executable. Any
exceptions are noted in the switch description.
@filename specifies a file that contains additional command-line switches that Symantec
Ghost should read. Filename indicates the path and file name of the command-line switch
file. The command-line switch file can include any Symantec Ghost command-line switch.
The Symantec Ghost command-line switch file must be a text file with each switch on a
separate line. This lets you exceed the DOS command-line limit of 150 characters.
For example:
ghost.exe @ghswitch.txt
For this command-line switch, the Ghswitch.txt file reads:
-clone,mode=pcreate,src=1:2,dst=g:\part2.gho
-fcr
-sure
@filename
Mounts the specified vmdk, pqi, v2i, or iv2i image file ("add" the image as a disk). Once
added, a vmdk disk can be used in all normal operations, and pqi, v2i, or iv2i disks are
mounted as read-only.
-ad=image file name
-addDisk=image file
name
Replaces the default abort error log file name, Ghosterr.txt, with the directory and file given
in filename.
-afile=filename
Command-line switches
Command-line switches
132
Summary of Contents for GHOST IMAGING FOUNDATION 7.1
Page 1: ...Symantec Ghost Imaging Foundation 7 1...
Page 3: ...Symantec Corporation 20330 Stevens Creek Blvd Cupertino CA 95014 http www symantec com...
Page 78: ...Managing partitions using GDisk Support for large hard disks 78...
Page 100: ...Editing registry keys and values using GhRegEdit Using GhRegEdit 100...
Page 116: ...Using GhostCasting to create and restore images Running Ghost exe on a client computer 116...
Page 122: ...GhostCasting from the command line GhostCast Server command line options 122...
Page 130: ...GDisk disk wipe specifications Determining disk size 130...
Page 166: ...Ghost for Linux Symantec Ghost utility support 166...
Page 170: ...Configuring firewalls Symantec Ghost port configuration 170...
Page 180: ...Troubleshooting Problems running Symantec Ghost 180...