Help with gdisk | ghost script

EQTitan

Diamond Member
Jun 4, 2004
4,031
0
71
I'm currently trying to figure out how to create a batch file or autorun.ini to do the following.

Assuming the Hard drive is setup with OS, drivers, and a few apps

Job #1
Load gdisk.exe
create a partition (logical drive) called recovery
unload gdisk.exe

load ghost.exe
clone primary partition onto 'recovery' partition created with gdisk
verify
unload ghost.exe

load gdisk.exe hide recovery partition
close

Job #2
Load gdisk.exe unhide 'recovery' partition
unload gdisk.exe

load ghost.exe copy 'recovery' partition over primary partition
close
reboot to clean system.