Symantec 10024709 User Manual
154
Command-line switches
Using Norton Ghost with switches
Using Norton Ghost with switches
Using Norton Ghost with switches
Norton Ghost can be run in the following ways:
■
Interactively with no command-line switches
■
Interactively with selected switches
■
Automated in batch files (batch mode)
The Norton Ghost command-line switches are used to alter Norton Ghost
behavior and automate procedures.
behavior and automate procedures.
If you are adding switches from the Advanced Options dialog box, some of these
switches, for example, the -clone switch, are not applicable to your task. Because
you are already performing a backup, restore, or clone operation, the -clone
switch is redundant.
switches, for example, the -clone switch, are not applicable to your task. Because
you are already performing a backup, restore, or clone operation, the -clone
switch is redundant.
To list Norton Ghost command-line switches
◆
In the Ghost directory, type one of the following:
■
ghost.exe -h
■
ghost.exe -?
A hyphen (-) or a slash (/) must precede all switches except @. Switches are not
case sensitive. They can be entered in upper, lower, or mixed case.
case sensitive. They can be entered in upper, lower, or mixed case.
Command-line switches
@filename
Specifies a file that contains additional command-line switches that Norton Ghost should
read. Filename indicates the path and file name of the command-line switch file. The
command-line switch file can include any Norton Ghost command-line switch, except for
-afile and -dfile. The Norton Ghost command-line switch file must be a text file with each
switch on a separate line. This feature lets you exceed the DOS command-line limit of 150
characters.
read. Filename indicates the path and file name of the command-line switch file. The
command-line switch file can include any Norton Ghost command-line switch, except for
-afile and -dfile. The Norton Ghost command-line switch file must be a text file with each
switch on a separate line. This feature lets you exceed the DOS command-line limit of 150
characters.
For example, for the following command line:
ghost.exe @ghswitch.txt
The file Ghswitch.txt would read:
-clone,mode=pcreate,src=1:2,dst=g:\part2.gho
-fcr
-sure
-fcr
-sure