标题:
求助!合两个dos 启动文件!
[打印本页]
作者:
ygzxwsn
时间:
2006-11-10 12:57
标题:
求助!合两个dos 启动文件!
高手帮我合两个文件!(dos启动文件)
一,下面这两个文件是dos启动后的工具:
CONFIG.SYS
内容:
[menu]
menuitem=A, normal boot! (himem)
menuitem=B, normal boot! (himem+emm386)
menuitem=C, normal boot! (ghost)
menuitem=D, normal boot! (mini98)
menuitem=E, README!!!!
menudefault=A,6
menucolor=14,0
[A]
DEVICEHIGH=himem.sys /testmemff
[B]
DEVICEHIGH=himem.sys /testmemff
DEVICEHIGH=EMM386.exe noems
[C]
DEVICEHIGH=himem.sys /testmemff
shell=command.com /p /e:1024
[D]
DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE NOEMS
DEVICEHIGH=ifshlp.sys
SHELL=COMMAND.COM /P /E:640
SET TMP=.
SET TEMP=.
NUMLOCK=OFF
[E]
DEVICEHIGH=himem.sys /testmem:off
[COMMON]
DOS=HIGH,UMB,AUTO
FCBSHIGH=21,0
FILESHIGH=36
BUFFERSHIGH=30,0
LASTDRIVEHIGH=32
STACKSHIGH=9,256
lastdrive=Z
AUTOEXEC.BAT
内容:
@echo off
lh TM /F >NUL
if "%config%"=="D" goto WIN98
if "%config%"=="E" goto read
if "%config%"=="C" goto ghost
cls
lh TW /np /n3 > nul
echo.
echo ※※※※※※※※※※※※※※※※※※※※
echo. ※ ※
echo ※ 老玩童工作室制作. ※
echo. ※ ※
echo ※ 超强功能U盘DOS启动盘 ※
echo. ※ ※
echo ※ 吴 林制作 2006元月 ※
echo. ※ ※
echo ※ Mail:ygzx@sohu.com. ※
echo. ※ ※
echo ※※※※※※※※※※※※※※※※※※※※
echo.
wbat box "请选择启动,加载驱动越多,死机可能性就越高!Esc进入DOS命令行!"继续启动, #1,6
rem wbat box "请选择启动,加载驱动越多,死机可能性就越高!Esc进入DOS命令行!"继续启动,鼠标支持, #1
if errorlevel 100 goto end
if errorlevel 2 goto mu
goto co
:mu
cls
tw /q >NUL
lh mouse /w
lh MOUSCLIP /m
goto co
:co
XMSDSK 4500 /Y>NUL
findramd>NUL
echo 正在创建内存盘.....
IF %RAMDRIVE%#==# goto no_ramdrive
if "%RAMDRIVE%"=="C:" goto c_drive
goto success
:c_drive
ECHO 警告! 没有找到可用硬盘分区!!
goto success
:no_ramdrive
ECHO 警告: 无法创建内存盘!!!
pause
goto bad
:success
md %RAMDRIVE%\temp
set temp=%RAMDRIVE%\temp
set tmp=%RAMDRIVE%\temp
set path=%RAMDRIVE%\;a:\
copy command.com %RAMDRIVE%\ > NUL
set comspec=%RAMDRIVE%\command.com
%RAMDRIVE%
echo 正在加载工具和中文菜单...请稍等!
a:\ar.exe >NUL
copy a:\w.bat %RAMDRIVE% >nul
copy a:\wbat.com %RAMDRIVE% >nul
copy a:\pal.ini %RAMDRIVE% >nul
copy a:\wbat.ini %RAMDRIVE% >nul
copy a:\wbat.txt %RAMDRIVE% >nul
copy a:\tw.exe %RAMDRIVE% >nul
copy a:\ez.exe %RAMDRIVE% >nul
copy a:\fdisk.exe %RAMDRIVE% >nul
copy a:\format.com %RAMDRIVE% >nul
copy a:\mouse.exe %RAMDRIVE% >nul
copy a:\MOUSCLIP.exe %RAMDRIVE% >nul
copy a:\tm.exe %RAMDRIVE% >nul
lh zeno /q
cls
%RAMDRIVE%\menu.bat
goto ext
:bad
echo 硬盘错误,或文件损坏,不能完成操作!
goto end
:read
cls
lh TW /np /n3 > nul
lh read.com read.txt
:end
echo.
echo.
echo 现在进入DOS命令行,提供分区和格式化工具!!!
echo 按任意键继续.......
pause
tw /q>nul
cls
goto ext
:ghost
@ECHO OFF
md a:\temp
set temp=a:\temp
set tmp=a:\temp
path a:\;a:\ar
cls
a:\ar\device a:\ar\vide-cdd.SYS /D:MSCD000
cls
echo.
echo Preparing to start your computer.
echo.
doskey >nul
mscdex /D:MSCD000
recur
zeno /q
call findcd.bat
a:\attrib -s -h -r c:\pagefile.sys
a:\attrib -s -h -r c:\hiberfil.sys
if exist c:\pagefile.sys del c:\pagefile.sys
if exist c:\hiberfil.sys del c:\hiberfil.sys
gcdrom.bat
goto ext
:WIN98
@ECHO OFF
cls
SET EXPAND=YES
SET DIRCMD=/O:N
SET TEM=%ramd%:\
SET TEMP=%ramd%:\
SET RAMD=Y
SET CDROM=A
XMSDSK 32500 Y: /y /t > NUL
PATH=A:\;:\;%RAMD%:\;%cdrom%:\
GOTO CDROM
::
IF %CDROM%#==# GOTO NORAM
:NORAM
SRC/R
:CDROM
TW /np /n3 >nul
echo.
echo.
echo.
echo.
echo.
echo 老吴祝您一路OK
echo.
echo.
echo 正在装载 WIN98 请稍等.....
echo.
echo.
echo 2006.01.08
echo.
copy A:\mini98.exe y: > nul
y:
mini98.exe > nul
del mini98.exe
tw /q >nul
cls
label Y: mini98
cd\mini98
win
:ext
二,下面这两个文件是dos启动后进行多播!
CONFIG.SYS
内容:
DEVICE=\net\protman.dos /I:\net
DEVICE=\net\dis_pkt.dos
DEVICE=\net\rtsnd.dos
AUTOEXEC.BAT
内容:
@echo off
prompt $p$g
\net\netbind.com
MOUSE.COM
cd \ghost
echo Loading...
GHOST.EXE
给以上两个文件合成一个文件,谢谢了!!!(目的:两个文件合成后复制到u盘,U盘启动后,用菜单选取所要的)
欢迎光临 EZB 论坛 (http://ultraiso.net/ezbbbs/)
Powered by Discuz! 6.1.0