Update grldr to the simplified Chinese version of 03-30-2007.
Update eb-net.lil to support more gigabit network cards.
Update the PXE boot code for the rtl 8111b network card.
Add AFUDOS.exe, which can flash the ami 8.0 bios file.
Delete unflash, as it doesn't run at all.
Add the xcp copy tool, see the detailed
http://www.cn-dos.net/forum/viewthread.php?tid=29092&fpage=1
Add the ntfs4dos compressed by the webmaster with upx. This is the only program compressed with upx in this DOS boot package.
Update the HX DOS Extender runtime files.
Update PWD_CHNG.EXE, now it can perfectly change the system passwords of vista 2003 xp under DOS.
Delete the tool for modifying the system password in the linux version, because the new version of it doesn't support vista temporarily, and currently PWD_CHNG.EXE is perfect.
Add the registered version of PTD, which can correct errors in the partition table and file allocation table. For example, if there is a failure during the ghost recovery file process, you can try to use it to repair the partition table.
Update the efficiency source to version 2004.
Update GHSTWALK, from ghost 11, which can change the computer name of vista xp 2003 under pure DOS.
Add ghost 11, and keep ghost 8.3. The file name of ghost8.3 is ghost.exe, and the file name of ghost11 is ghost11.exe.
Update TESTDISK.EXE, PHOTOREC.EXE, tools for modifying hard disk data under DOS.
Update CWSDPMI.EXE ver :0.6B
Add the PCMOUSE.EXE provided by the webmaster, from the download section of the forum.
Add IELDR.EXE for loading and booting ISO files under DOS.
Add LOADLIN.EXE 1.6c for loading and booting the linux kernel image under DOS.
Correct some small errors in netset.
Now the cursor is in insert mode by default after entering the DOS prompt.
Add DPMIONE.EXE, which can support the DPMI 1.0 standard, and it has been tested to be very imperfect.
Replace with another Etherboot code, the file name is eb-net.lil.
Update memtestp 1.7, which supports FB-DIMM memory.
Correct some errors in the install to hard disk.cmd script: it may cause the system, read-only, and hidden attributes of boot.ini to be missing.
The graphic background file of GRUB4DOS is changed to redhat-9.xpm.gz, which now looks more concise.
Some related files of syslinxu are updated to version 3.36 official version. memdisk has good compatibility.
Attach the script for installing to the c:\boot.ini file. Similar software all use exe packaging programs to install to c:\boot, and write uninstall information to the registry, and some also have rogue plugins.
This script realizes installation to boot.ini, can set the timeout period of the system selection menu, can set the menu editing password of grub4dos, the password to enter DOS, and can be uninstalled from the hard disk.
@echo off
:start
echo.
echo ************************************
echo * *
echo * 1、Install "GRUB Boot" to boot menu *
echo * 2、Delete "GRUB Boot" and related files *
echo * 3、Exit *
echo * *
echo ************************************
set UserChoice=
set /p UserChoice= Please choose , default is 1:
echo.
if /i "%UserChoice%"=="" goto 1
if /i "%UserChoice%"=="1" goto 1
if /i "%UserChoice%"=="2" goto 2
if /i "%UserChoice%"=="3" goto :eof
echo Invalid choice! Please rechoose
echo.
goto start
:1
if not exist C:\boot.ini echo No c:\boot.ini file found! &goto start
rem findstr /C:"C:\grldr=GRUB Boot" c:\boot.ini
echo Back up C:\boot.ini to C:\boot-ini.bak
type C:\boot.ini>C:\boot-ini.bak
echo.
set second=2
set /p second= Please set the time to display the operating system list, default is 2 seconds:
attrib -s -h -r C:\boot.ini
type C:\boot-ini.bak|find "boot loader" /i>C:\boot.ini
echo timeout=%second% >>C:\boot.ini
echo.
echo Modify the operating system menu timeout to %second% seconds
type C:\boot-ini.bak|find "boot loader" /i /v|find "timeout" /i /v>>C:\boot.ini
set yet=
for /f "delims=" %%l in (c:\boot.ini) do (
echo.%%l|find /i "C:\grldr=GRUB Boot">nul && set yet=1
)>nul
if "%yet%"=="1" goto yet
echo C:\grldr=GRUB Boot>>C:\boot.ini
attrib +s +h +r C:\boot.ini
echo.
echo Successfully added the "GRUB Boot" menu item.
goto yeta
:yet
attrib +s +h +r C:\boot.ini
echo.
echo "GRUB Boot" has been added to the OS selection menu, no need to add again.
echo.
:yeta
echo For system security, please set the password for entering the interactive menu editing function
echo.
:inputpass1
set pass1=
set pass2=
set /p pass1= Please enter the password for the interactive menu editing function:
set /p pass2= Please enter the password for the interactive menu editing function again:
echo.
if "%pass1%"=="%pass2%" goto variance1
if not "%pass1%"=="%pass2%" echo The two entered passwords are not the same, please re-enter the password.
echo.
goto inputpass1
:variance1
if "%pass1%"=="" goto spacepass1
goto md51
:spacepass1
echo No password
echo.
set h=
goto nonepass1
:md51
md5+.exe %pass1% >c:\aaabbb.tmp
for /f %%i in (c:\aaabbb.tmp) do set h=%%i
rem set /a h=%h%+1
if exist c:\aaabbb.tmp del c:\aaabbb.tmp
echo MD5 encrypted string is:%h%
:nonepass1
echo.
echo For the security of hard disk data, please set the password for entering the network DOS
echo.
:inputpass2
set pass3=
set pass4=
set /p pass3= Please enter the password for the network DOS system:
set /p pass4= Please enter the password for the network DOS system again:
echo.
if "%pass3%"=="%pass4%" goto variance2
if not "%pass3%"=="%pass4%" echo The two entered passwords are not the same, please re-enter the password.
echo.
goto inputpass2
:variance2
if "%pass3%"=="" goto spacepass2
goto md52
:spacepass2
echo No password
echo.
set i=
goto nonepass2
:md52
md5+.exe %pass3% >c:\aaabbb.tmp
for /f %%i in (c:\aaabbb.tmp) do set i=%%i
rem set /a i=%i%+1
if exist c:\aaabbb.tmp del c:\aaabbb.tmp
echo MD5 encrypted string is:%i%
:nonepass2
if exist c:\grub\menu.lst del /q c:\grub\menu.lst
if not exist c:\grub md c:\grub >nul
if not "%h%"=="" (set pass1=password --md5 %h%) else set pass1=##password1 --md5
if not "%i%"=="" (set pass2=password --md5 %i%) else set pass2=##password2 --md5
for /f "delims=" %%l in (grub\menu.lst) do (
echo.%%l|find /i "##password">nul && echo.%%l|find /i "##password1" >nul && echo %pass1% || echo.%%l|find /i "##password2" >nul && echo %pass2% ||echo.%%l
)>>c:\grub\menu.lst
echo.
:copyfile
if not exist c:\grldr goto ngrldr
set /p UserChoice= GRUB4DOS related files detected, please press Y to overwrite and install, otherwise exit:
if /i not "%UserChoice%"=="y" goto start
:ngrldr
echo Start copying files to c:\grub directory
if not exist c:\grub md c:\grub >nul
attrib +s +h +r c:\grub
if exist c:\grldr attrib -s -h -r c:\grldr >nul
copy /y grub\grldr c:\grldr
attrib +s +h +r c:\grldr
copy /y eb-net.lil c:\grub\
copy /y grub\fonts c:\grub\
copy /y hddscan.img c:\grub\
copy /y memdisk c:\grub\
copy /y memtestp c:\grub\
rem copy /y grub\menu.lst c:\grub\
copy /y pxe.img c:\grub\
copy /y pxeboot.zip c:\grub\
copy /y grub\redhat-9.xpm.gz c:\grub\
copy /y windiag.img c:\grub\
echo File copying completed.
goto start
:2
if not exist C:\boot.ini echo No c:\boot.ini file found! &goto start
echo Back up C:\boot.ini to C:\boot-ini.bak
type C:\boot.ini>C:\boot-ini.bak
attrib -s -h -r C:\boot.ini
set yet=
for /f "delims=" %%l in (c:\boot.ini) do (
echo.%%l|find /i "C:\grldr=GRUB Boot">nul && set yet=1
)>nul
if not "%yet%"=="1" goto yet0
type c:\boot-ini.bak | findstr /v /i "C:\grldr=GRUB Boot" >C:\boot.ini
attrib +s +h +r C:\boot.ini
echo.
echo Successfully deleted "GRUB Boot" from the OS selection menu.
echo.
set /p UserChoice= Do you want to delete the c:\grldr and c:\grub directories? Please press Y to confirm deletion, otherwise exit:
echo.
if /i not "%UserChoice%"=="y" goto start
echo Start deleting related files...
if exist c:\grldr attrib -s -h -r c:\grldr
del /q c:\grldr
if exist c:\grub\eb-net.lil del /q c:\grub\eb-net.lil
if exist c:\grub\fonts>nul del /q c:\grub\fonts
if exist c:\grub\hddscan.img del /q c:\grub\hddscan.img
if exist c:\grub\memdisk del /q c:\grub\memdisk
if exist c:\grub\memtestp del /q c:\grub\memtestp
if exist c:\grub\menu.lst del /q c:\grub\menu.lst
if exist c:\grub\pxe.img del /q c:\grub\pxe.img
if exist c:\grub\pxeboot.zip del /q c:\grub\pxeboot.zip
if exist c:\grub\redhat-9.xpm.gz del /q c:\grub\redhat-9.xpm.gz
if exist c:\grub\windiag.img del /q c:\grub\windiag.img
if exist c:\grub attrib -s -h -r c:\grub
rd /q c:\grub
echo Related files deleted completed.
goto start
:yet0
attrib +s +h +r C:\boot.ini
echo.
echo "GRUB Boot" menu item not found, no need to delete.
goto start
[
Last edited by xugaohui on 2007-4-9 at 06:16 AM ]