Please refer to ghost implemntation guide for more details but in nutshell:
ghost32 -clone,src=X,dst=Y,mode=Z -batch -sure
where:
X and Y could be in the form 1 - disk 1, 1:1 - disk 1 volume 1, c:\, image name, virtual disk name (VMDK/V2I/PQI files). You can create and restore t/from VMDK but only restore from V2I/PQi images.
Z - create /restore/load etc.
-batch enables batch mode with automatic selection from all disks and volumes dialogs and -sure answers yes to all prompts.
Hope this helps.