:W_MENU
If Not Exist %PEDIR% MD %PEDIR%>NUL 2>NUL
>%PEDIR%\MD5P.TMP <NUL p="%Pass2%
MYINS\MD5.EXE %PEDIR%\MD5P.TMP %PEDIR%\MD5R.TXT>NUL 2>NUL
For /f %%i In ('type %PEDIR%\md5r.txt') do SET MD5Pass=password --md5 %%i
If Not "%usb%"=="y" (
If Exist %RP%\wcldr %DelATTR% %RP%\wcldr&&Del %RP%\wcldr
If Exist %RP%\mtldr %DelATTR% %RP%\mtldr&&Del %RP%\mtldr
)
If Not "%setub%"=="d" (
%jy_exe%%RP% wcldr -r -y>NUL 2>NUL
Copy MYINS\grubmenu.exe %RP%\grubmenu.exe /Y>NUL 2>NUL
)
SET LDR_WC=wcmenu.lst
If not "%nops%"=="1" >>%RP%\%LDR_WC% Echo %MD5Pass%
If /I "%f6yn%"=="y" (
>%RP%\%LDR_WC% Echo calc *0x60200=*0x82a0
>>%RP%\%LDR_WC% Echo calc *0x60300=*0x829c
>>%RP%\%LDR_WC% Echo command --set-path=/%PEPH%/
) else (
>%RP%\%LDR_WC% Echo command --set-path=/%PEPH%/
)
>>%RP%\%LDR_WC% Echo timeout 20
>>%RP%\%LDR_WC% Echo default 3
>>%RP%\%LDR_WC% Echo UNIFONT /%PEPH%/U16HZ
>>%RP%\%LDR_WC% Echo title
>>%RP%\%LDR_WC% Echo clear
>>%RP%\%LDR_WC% Echo title ★【网虫2008】_单双核_%PEBB% 启动菜单★
>>%RP%\%LDR_WC% Echo clear
>>%RP%\%LDR_WC% Echo title =======================================================
>>%RP%\%LDR_WC% Echo clear
set NUM=
If /I "%LDRXPE%"=="ISO" (
Call :w_iso
>>%RP%\%LDR_WC% Echo title
>>%RP%\%LDR_WC% Echo clear
set NUM=2
)
......
:w_iso
set ydbb=ISO
set /a NUM=%NUM%+1
>>%RP%\%LDR_WC% Echo title [%NUM%]--启动 %ydbb%_单核_%PEBB%
If not "%nops%"=="1" >>%RP%\%LDR_WC% Echo %MD5Pass%
>>%RP%\%LDR_WC% Echo find --set-root /%PEPH%/LDR%ydbb%1
>>%RP%\%LDR_WC% Echo chainloader /%PEPH%/LDR%ydbb%1
set /a NUM=%NUM%+1
>>%RP%\%LDR_WC% Echo title [%NUM%]--启动 %ydbb%_双核_%PEBB%
If not "%nops%"=="1" >>%RP%\%LDR_WC% Echo %MD5Pass%
>>%RP%\%LDR_WC% Echo find --set-root /%PEPH%/LDR%ydbb%2
>>%RP%\%LDR_WC% Echo chainloader /%PEPH%/LDR%ydbb%2
Goto :eof