Performing Multiple Gdisk Operations Using Batch Mode - Symantec GHOST IMAGING FOUNDATION 7.1 - V1.0 Manual

Table of Contents

Advertisement

Performing multiple GDisk operations using batch
mode
GDisk32.exe
gdisk32 [disk] [/status] [/raw|lba] [/ser]
Table 5-6
lists the status switches.
/status switches
Table 5-6
Switch
Explanation
disk
Represents the physical fixed disk, from 1 to 128.
/raw
Shows the contents of the partition table in CHS or GPT form if used
with the disk switch.
/lba
Shows the contents of the partition table in logical block form if used
with the disk switch.
/ser
Shows the serial number of the disk.
Use the batch mode switch, /batch, to perform multiple GDisk operations with a
single command. Using the /batch switch lets you avoid loading GDisk from the
boot disk each time. Batch commands can either be supplied interactively at a
prompt or in a previously prepared text file.
If the name of a text file is supplied along with the batch mode switch, GDisk
opens the file and executes the commands within it until all commands have been
executed or one of the commands encounters an error.
For example:
C:\> gdisk /batch:cmds.txt
If the batch mode switch is supplied without a file name, GDisk prompts you for
the commands to execute.
Note: To use GDisk32.exe in the example commands, replace gdisk with gdisk32.
Command-line arguments that apply to all of the batch commands can be specified
on the original command line along with the batch mode switch. The lines found
in the batch file (or typed at the prompt) are appended to the already partially
formed command line.
Following is a sample batch command file called Two-new.txt. Blank lines and
lines starting with the number (hash) symbol are considered comments. These

Performing multiple GDisk operations using batch mode

Managing partitions using GDisk
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ghost imaging foundation 7.1

Table of Contents