分类: WINDOWS
2006-11-12 14:32:39
批处理:
@echo off
cls
echo.
echo.
echo Processing,please wait...
sys a: c:>nul
srcboot c: c:\bootsect.dos /s>nul
echo y|bootpart winnt boot:c:>nul
if not exist c:\boot.ini goto no
goto begin
:NO
copy boot.ini c:\>nul
goto hou
:BEGIN
attrib -r -h -s c:\*.*
echo c:\="MS-DOS">>c:\boot.ini
:hou
attrib +h +s c:\*.*
cls
echo.
echo.
echo Make multiboot menu successfully.
echo.
echo Press Enter in 3 seconds to reboot,any key to Exit.
wait 3
set wat=
IF ERRORLEVEL 13 IF NOT ERRORLEVEL 14 SET wat=1
IF %wat%#==# GOTO ext
ECHO.
reboot
:EXT
echo.