|
Lianjing,好勤快,
我也根据新鸟的使用提点建议:
我个人在Windows下面直接生成备份,恢复的批处理,没有任何建议可提
下面是非Windows下面的建议:
A既然是给新鸟用的,建议去掉那些自定义IMG和ISO和零PE什么的,只有默认GGhost两项,虽然这个修改很简单,但是给菜鸟的越简单越好。
B进入GGhost界面,只有备份和恢复两项(去掉那些PQ什么的,菜鸟一般用不到这些)和重启关机什么的。
C流程:
备份,备份之前检测放置GHO分区剩余空间是否足够,不够则提示空间不足,是否删除以前备份(或者提示将覆盖已有备份,只能存在一个GGhost备份),然后提示备份目标分区,选择压缩比,备份,重启。
恢复,选择已有备份(可有多个备份)或者选择只存在一个的GGhost的备份,提示恢复目标分区,确认恢复,恢复,重启。
另外Lianjiang对于Dosmenu.exe,有什么研究么?DOSMENU存在于Paragon.Hard.Disk.Manager.2009.Server.Edition的IMG中
可以选择JPG和BMP作为背景,可以作为IMG里面选择的程序,我搞了好久不知怎么显示中文。
可以用INI来传递。
附带配置文件
启动的Bat内容:
@echo off
:menu
%MNLET%
cd %MNPATH%
dos_menu.exe menu.txt
if ERRORLEVEL 17 goto do_job_bm
if ERRORLEVEL 16 goto do_job_fm
if ERRORLEVEL 15 goto do_job_reboot
if ERRORLEVEL 14 goto do_job_cmd
if ERRORLEVEL 13 goto do_job_list_part
if ERRORLEVEL 12 goto do_job_logs
if ERRORLEVEL 11 goto do_job_ww
if ERRORLEVEL 10 goto do_job_ftw
if ERRORLEVEL 9 goto do_job_obcw
if ERRORLEVEL 8 goto do_job_dcw
if ERRORLEVEL 7 goto do_job_rw
if ERRORLEVEL 6 goto do_job_bw
if ERRORLEVEL 5 goto do_job_pc
if ERRORLEVEL 4 goto do_job_bc
if ERRORLEVEL 3 goto do_job_pm
if ERRORLEVEL 2 goto do_job_db
if ERRORLEVEL 1 goto do_job_hdm
goto end
:do_job_hdm
if exist hdm.exe goto hdm
dospm.exe /respath=./config/hdm_lg.ini
goto enable_mouse
:hdm
hdm.exe /respath=./config/hdm_lg.ini
goto enable_mouse
:do_job_db
if exist db.exe goto db
dospm.exe /respath=./config/db_lg.ini
goto enable_mouse
:db
db.exe /respath=./config/db_lg.ini
goto enable_mouse
:do_job_pm
if exist pm.exe goto pm
dospm.exe /respath=./config/pm_lg.ini
goto enable_mouse
:pm
pm.exe /respath=./config/pm_lg.ini
goto enable_mouse
:do_job_bc
if exist bc.exe goto bc
dospm.exe /bc_wizard /respath=./config/bc_lg.ini
goto enable_mouse
:bc
bc.exe /respath=./config/bc_lg.ini
goto enable_mouse
:do_job_pc
if exist pc.exe goto pc
dospm.exe /pc_wizard /respath=./config/pc_lg.ini
goto enable_mouse
:pc
pc.exe /respath=./config/pc_lg.ini
goto enable_mouse
:do_job_bw
if exist backup.exe goto bw
dospm.exe /backup_wizard /respath=./config/bw_lg.ini
goto enable_mouse
:bw
backup.exe /respath=./config/bw_lg.ini
goto enable_mouse
:do_job_rw
if exist restore.exe goto rw
dospm.exe /restore_wizard /respath=./config/srw_lg.ini
goto enable_mouse
:rw
restore.exe /respath=./config/srw_lg.ini
goto enable_mouse
:do_job_dcw
if exist diskcopy.exe goto dcw
dospm.exe /diskcopy_wizard /respath=./config/dcw_lg.ini
goto enable_mouse
:dcw
diskcopy.exe /respath=./config/dcw_lg.ini
goto enable_mouse
:do_job_obcw
if exist diskcp1b.exe goto obcw
dospm.exe /diskcp1b_wizard /respath=./config/obcw_lg.ini
goto enable_mouse
:obcw
diskcp1b.exe /respath=./config/obcw_lg.ini
goto enable_mouse
:do_job_ftw
if exist transfer.exe goto ftw
dospm.exe /transfer_wizard /respath=./config/ftw_lg.ini
goto enable_mouse
:ftw
transfer.exe /respath=./config/ftw_lg.ini
goto enable_mouse
:do_job_ww
if exist wipe.exe goto ww
dospm.exe /wipe_wizard /respath=./config/wipe_lg.ini
goto enable_mouse
:ww
wipe.exe /respath=./config/wipe_lg.ini
goto enable_mouse
:do_job_logs
if exist logs.exe goto logs
dospm.exe /logsaver /respath=./config/logs_lg.ini
goto enable_mouse
:logs
logs.exe /respath=./config/logs_lg.ini
goto enable_mouse
:do_job_list_part
scripts.exe -o none --input "mountlist(-1,-1)" /respath=./config/scripts_lg.ini
pause
goto menu
:do_job_cmd
goto end
:do_job_reboot
reboot.com
goto menu
:do_job_fm
dn\dn.com
goto menu
:do_job_bm
bm.exe
goto menu
:enable_mouse
enable.com
goto menu
:end
这个是提示的CFG
[MENU_CONFIGURATION]
Background = images\rk.jpg
#MenuLeft = 118
#MenuTop = 130
#MenuWidth = 272
#MenuHeight = 410
#HintLeft = 380
#HintTop = 130
#HintWidth = 272
#HintHeight = 410
MenuLeft = 138
MenuTop = 130
MenuWidth = 272
MenuHeight = 410
HintLeft = 401
HintTop = 130
HintWidth = 272
HintHeight = 410
BacklineColor = 200, 200, 0
BigIcons = 1
utf8 = 1
#MenuTitle = Tasks to execute
#HintTitle = Task description
HintFile = hints\hint_ea.cfg
LinesNumber = 9
[MENU_CONFIGURATION_1024x768]
Background = images\splash_1024.jpg
MenuLeft = 238
MenuTop = 210
MenuWidth = 272
MenuHeight = 410
HintLeft = 501
HintTop = 210
HintWidth = 272
HintHeight = 410
#main program
[LINE1]
Title = Hard Disk Manager™
Title.de = Hard Disk Manager™
Title.fr = Hard Disk Manager™
Title.ru = Hard Disk Manager™
Icon = images\db.bmp
ExCode = 3
ExString = dospm.exe /respath=./config/pm.ini
HintSection = pm
[LINE2]
Title = Simple Restore Wizard
Title.de = Simple Restore Wizard
Title.fr = Simple Restore Wizard
Title.ru = Simple Restore Wizard
Icon = images\srw.bmp
ExCode = 7
ExString = dospm.exe /restore_wizard /respath=./config/restore.ini
ShowIfFileExists = _restore
Disable = 0
HintSection = srw
#One Button Click Wizard
[LINE3]
Title = One Button Copy Wizard
Title.de = One Button Copy Wizard
Title.fr = One Button Copy Wizard
Title.ru = One Button Copy Wizard
Icon = images\copydisk.bmp
ExCode = 9
ExString = dospm.exe /diskcp1b_wizard /respath=./config/diskcp1b.ini
ShowIfFileExists = _diskcp1
Disable = 0
HintSection = obcw
#Wipe Wizard
[LINE4]
Title = Wipe Wizard
Title.de = Wipe Wizard
Title.fr = Wipe Wizard
Title.ru = Wipe Wizard
Icon = images\wipe.bmp
ExCode = 3
ExString = dospm.exe /wipe_wizard /respath=./config/wipe.ini
ShowIfFileExists = _wipe
HintSection = ww
#File Transfer Wizard
[LINE5]
Title = File Transfer Wizard
Title.de = File Transfer Wizard
Title.fr = File Transfer Wizard
Title.ru = File Transfer Wizard
Icon = images\ftw.bmp
ExCode = 10
ExString = dospm.exe /transfer_wizard /respath=./config/transfer.ini
ShowIfFileExists = _transfe
Disable = 0
HintSection = ftw
#Boot Corrector
[LINE6]
Title = Boot Corrector
Title.de = Boot Corrector
Title.fr = Boot Corrector
Title.ru = Boot Corrector
Icon = images\bc.bmp
ExCode = 4
ExString = dospm.exe /bc_wizard /respath=./config/bc.ini
ShowIfFileExists = _bc
Disable = 0
HintSection = bc
[LINE7]
Separator = 1
#Command line
[LINE8]
Title = Start the command line
Title.de = Start the command line
Title.fr = Start the command line
Title.ru = Start the command line
Icon = images\cline.bmp
ExCode = 14
ExString = command
HintSection = cmd
#Reboot the computer
[LINE9]
Title = Reboot the computer
Title.de = Reboot the computer
Title.fr = Reboot the computer
Title.ru = Reboot the computer
Icon = images\reboot.bmp
ExCode = 15
ExString = reboot.com
HintSection = rbt
这个提示的Menu.txt
begin_mainsection
main_bmp="mainbg.bmp"
menu_cords=9,12,28,13
menu_attr=0XF0,0XEC,0XF0
menu_hattr=0XFF,0X67,0XFF
hint_cords=9,43,27,13
hint_attr=0XF0,0X85,0XF0
end_mainsection
begin_section
title="Hard Disk Manager 2009"
hint="You can create, delete and"
hint="format hard disk partitions"
hint="using this program, which"
hint="will start now. "
hint="Upon the start, please"
hint="select the drive and one of"
hint="its partitions or its free"
hint="space. Then activate the"
hint="'Partition' pull-down menu"
hint="and select one of the"
hint="partitioning operations. "
icon="hdm.bmp"
ex_code=3
end_section
begin_section
title="Simple Restore Wizard"
hint="Provides Restore for hard"
hint="disks/partitions. All"
hint="drives (including NTFS) are"
hint="already mounted as c:, d:,"
hint="e:, etc. It is possible to"
hint="eject your CDROM. "
icon="srw.bmp"
ex_code=7
end_section
begin_section
title="One Button Copy Wizard"
hint="This wizard allows you,"
hint="just by one click, to make"
hint="a copy of the first found"
hint="hard disk with partitions"
hint="to the firstempty hard disk. "
icon="srw.bmp"
ex_code=9
end_section
begin_section
title="File Transfer Wizard"
hint="Copy your files to another disk,"
hint="disk, partition or folder"
hint="with File Transfer Wizard."
hint="This wizard also allows"
hint="you to burn files or"
hint="folders to CD/DVD directly."
hint="The CD/DVD burning"
hint="operations are not"
hint="applicable in DOS mode. "
icon="fm.bmp"
ex_code=10
end_section
begin_section
title="Boot Corrector"
hint="Boot Corrector allows you"
hint="to cure the majority of"
hint="boot problems for Windows"
hint="2000/XP/Server 2003. The"
hint="key advantage of Boot"
hint="Corrector is that it can"
hint="correct the Windows System"
hint="Registry without Windows"
hint="loaded. It also helps with"
hint="other operating systems"
hint="when common boot problems"
hint="take place. "
icon="bc.bmp"
ex_code=4
end_section
begin_section
title="Wipe Wizard"
hint="This will launch Wipe"
hint="Wizard. To wipe hard disk"
hint="or partition, just follow"
hint="instructions in the wizard."
icon="hdm.bmp"
ex_code=11
end_section
begin_section
title="哪哪哪哪哪哪哪哪哪哪哪哪哪哪哪?
flags=1
end_section
begin_section
title="Start the command line"
hint="This option is intended for"
hint="experienced DOS users."
hint="From the command line you"
hint="can execute any DOS"
hint="program. "
icon="cline.bmp"
ex_code=14
end_section
begin_section
title="Reboot the computer"
hint="You are going to reboot the"
hint="computer."
hint="Now you can eject the CD. "
icon="reboot.bmp"
ex_code=15
end_section
附带启动IMA效果图,和文件结构图
[ 本帖最后由 Zokor 于 2009-5-30 17:40 编辑 ] |
|