Using Ghost Explorer from the command line

Ghost Explorer

Using Ghost Explorer from the command line

You can start Ghost Explorer from a command prompt by typing its path and file name.

To start Ghost Explorer from a command prompt

  1. On the Windows taskbar, click Start > Programs > Accessories > Command Prompt.

  2. Type:

    c:\Program Files\Symantec\Ghost\Ghostexp

    This is the default path to Ghost Explorer.

  3. Press Enter.

Ghost Explorer has a batch mode in which it carries out a single command and then exits. In this version, batch mode supports the saving of the contents to a text file only.

Table: Batch mode switches specifies the switches to use the batch mode.

Table: Batch mode switches

Switch

Description

-t

Saves the list of directories in the dump file to a file with the same name as the image file but with an extension of .txt

-tf=filename

Saves a list of directories and files to filename

-tv

Saves a verbose listing of directories and files

-tv=filename

Saves a verbose list of directories and files to the file specified

If Ghost Explorer reports that a spanned or split image is corrupt without prompting for the second part of the image, it may not recognize that the image is split. Starting with the -split argument forces Ghost Explorer to treat an image as a split image.