步骤三、编写启动软盘
制启动软盘虽然麻烦一点,但可以收到一劳永逸的效果。启动软盘里,包括autoexec.bat、command.com、IO.sys、mouse.com、mouse.ini、msdos.sys、ghost.exe(2003)、config.sys、mscdex.exe、oakcdrom.sys等十个文件。其中config.sys的内容为:
[menu]
menuitem=backup1,backup all of data the 1 partition in your 1st HD to CD-RW
menuitem=restore1,restore all of data the 1 partition in your 1st HD form CD
menudefault=restore1,8
menucolor=7,0
:restore1
echo.
echo Warning!This will delete all of data the 1 partition in your 1st HD!
echo.
Ghost -clone,mode=pload,src=@cd1:1\cdr00001.gho,dst=1:1 -sure -rb
goto _end
:backup1
echo.
echo This will backup all of data the 1 partition in your 1st HD to CD-RW!
echo.
Ghost -clone,mode=pdump,src=1:1,dst=@cd2 -bootcd -z9 -sure -rb
goto _end