I want to achieve this: after booting the computer from a floppy disk, it shows
Press:
Number key "1" — back up the system
Number key "2" — restore the system
Number key "3" — exit to DOS
Then once number key "1" is pressed, it will automatically look for the last hard disk partition as the partition for storing the GHO file,
then do the backup, and after the backup is finished it will automatically run a command like "gdisk.exe 1 /hide /p:3" to hide the partition. The difficult point is how can gdisk automatically change the /p:3 parameter?
gdisk usage:
gdisk.exe 1 /hide /p:3 hides the third partition
gdisk.exe 1 /hide /p:4 hides the fourth partition
...and so on
Press:
Number key "1" — back up the system
Number key "2" — restore the system
Number key "3" — exit to DOS
Then once number key "1" is pressed, it will automatically look for the last hard disk partition as the partition for storing the GHO file,
then do the backup, and after the backup is finished it will automatically run a command like "gdisk.exe 1 /hide /p:3" to hide the partition. The difficult point is how can gdisk automatically change the /p:3 parameter?
gdisk usage:
gdisk.exe 1 /hide /p:3 hides the third partition
gdisk.exe 1 /hide /p:4 hides the fourth partition
...and so on


