|
菜单
- title 2.Windows XP 一秒恢复
- set sysname=xp_child
- set diskno=1.1:
- set vhddir=\vhd\xp
- set subvhd=xp_child.vhd
- set subvhdbak=xp_child_bak.vhd
- map --mem /restore_vhd.img (fd0)
- map --hook
- echo @ECHO OFF > (fd0)/autoexec.bat
- echo set sysname=%sysname% >> (fd0)/autoexec.bat
- echo set diskno=%diskno% >> (fd0)/autoexec.bat
- echo set vhddir=%vhddir% >> (fd0)/autoexec.bat
- echo set subvhd=%subvhd% >> (fd0)/autoexec.bat
- echo set subvhdbak=%subvhdbak% >> (fd0)/autoexec.bat
- echo STOREVHD >> (fd0)/autoexec.bat
- rootnoverify (fd0)
- chainloader +1
复制代码
实际效果
能替换备份的vhd,但是不会自动重启。效果如上图。 |
|