求道者 发表于 2016-12-6 16:51:01

不点大师求看看这个命令怎么了?关于grub4dos调用MaxDOS工具箱内部命令

本帖最后由 求道者 于 2016-12-7 12:08 编辑

title 运行 HddReg 2014 硬盘再生器
terminal console
pause --wait=2Loading DOS Tool ...
map --mem /BOOT/IMGS/FDD_BOOT.ima (fd0)
map --hook
dd if=(fd0)/config.sys of=(fd0)/config.sys bs=1 skip=65 count=1 seek=185
write --offset=1010 (fd0)/autoexec.bat call hddreg.bat
chainloader (fd0)+1
rootnoverify (fd0)

好像没起作用........
哪有毛病来着?
附上MAXDOS
http://pan.baidu.com/s/1nvi57BV
不起作用的AUTOEXEC.BAT和CONFIG.SYS
@echo off
::: Power By MaxStudio Http://MaxDOS.NetHttp://Pzz.Cn
IF %CM0%#==G# GOTO MaxDOSG
set EXPAND=YES
path=a:\;a:\soft
findramd
if %ramdrive%#==# xmsdsk 10240 x: /y | findramd >nul
if %ramdrive%#==X:# goto _stmax
a:\soft\subst.com x: %ramdrive%\ >nul

:_stmax
path=a:\;a:\soft;a:\soft\TOOL;a:\soft\pic;a:\soft\TOOL\hpa;x:\;x:\lan;x:\soft;x:\net;x:\ng;x:\tmp;%ramdrive%\;%ramdrive%\lan;%ramdrive%\soft;%ramdrive%\net;%ramdrive%\ng;%ramdrive%\tmp
md %ramdrive%\Tmp >nul
md %ramdrive%\soft >nul
set temp=%ramdrive%\Tmp
set tmp=%ramdrive%\Tmp
PKUNZIP -O a:\soft\max.zip %ramdrive%\soft\ >nul
lh a:\soft\doskey.com >nul
lh %ramdrive%\soft\findcd.exe >nul
IF %CM0%#==A# GOTO MaxDOS1
IF %CM0%#==B# GOTO MaxDOS7
IF %CM0%#==D# GOTO MaxDOS3
IF %CM0%#==E# GOTO MaxDOS4
IF %CM0%#==F# GOTO MaxDOS5
IF %CM1%#==A# GOTO MaxDOS8
IF %CM1%#==B# GOTO MaxDOS6
IF %CM1%#==C# GOTO MaxDOS9
IF %CM1%#==D# GOTO MaxDOS9
IF %CM1%#==E# GOTO MaxDOS9
IF %CM1%#==F# GOTO MaxDOS9
IF %CM1%#==G# GOTO MaxDOS9
IF %CM1%#==H# GOTO MaxDOS9

:Maxdos1
call m.bat
goto _end

:Maxdos3
call atbr.bat
goto _end

:MaxDOS4
echo Please wait.......
md %ramdrive%\net >nul
md %ramdrive%\ng >nul
PKUNZIP -o a:\maxnet\MAXNG.zip %ramdrive%\ng\ >nul
PKUNZIP -O a:\maxnet\MaxNet.zip %ramdrive%\net\ >nul
copy a:\maxnet\PROTMAN.EXE %ramdrive%\net >nul
call maxnet.bat
goto _end

:MaxDOS5
LH a:\soft\SHSUCDX /D:?IDECD1 /D:?SATACD1 /D:?USCCD1 /D:?FWRCD
findcdx /s
echo RAM Drivers x:
goto _end

:MaxDOS6
echo Please wait..
md %ramdrive%\ng
copy a:\maxnet\PROTMAN.EXE %ramdrive%\ng\PROTMAN.EXE >nul
copy a:\maxnet\NETBIND.COM %ramdrive%\ng\NETBIND.COM >nul
PKUNZIP -o a:\maxnet\MAXNG.zip %ramdrive%\ng\ >nul
cls
echo Please wait....
call %ramdrive%\ng\Sngo.bat
goto _end

:Maxdos7
echo Please wait..
md %ramdrive%\ng
copy a:\maxnet\PROTMAN.EXE %ramdrive%\ng\PROTMAN.EXE >nul
copy a:\maxnet\NETBIND.COM %ramdrive%\ng\NETBIND.COM >nul
PKUNZIP -o a:\maxnet\MAXNG.zip %ramdrive%\ng\ >nul
cls
echo Please wait....
call %ramdrive%\ng\netgh.bat
goto _end

:MaxDOS8
md %ramdrive%\lan
PKUNZIP -O A:\maxnet\PKTBAT.zip %ramdrive%\ >nul
call pgo.bat
cls
goto _end

:MaxDOS9
md %ramdrive%\ng >nul
GO a:\maxnet
netbind >nul
Call nfxgo.bat

:MaxDOSG
path=a:\;a:\soft;
cls

:_end
device=config.exe
device=ConMenu.sys
SHELL=command.com /P /E:640
dos=noauto,high,umb
files=80
stackshigh=9,256
lastdrive=z
buffers=20,8
numlock=off
rem color=07
rem default=A,7
rem caption=
rem caption=      MaxDOS 9.3 纮羴聜
rem caption=======================================
rem endnote=======================================
rem endnote=脙膭(Max)艆茊菄葓茊Http://MaxDOS.Net
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳羴聜諘,謻讞貥贆.

rem cm0=[A. MaxDOS艆跉蹧 & MaxDOS Tool BOX.
device=\soft\himem.sys /testmem:off
REM XM=\soft\xmgr.sys /w
device=\soft\umbpci.sys /s
REM RD=\soft\ramdrive.sys 10240 512 1024 /e
rem cm0=]

rem cm0=[B. 軠轁逓邿酄帷猗 & Auto Ghost Multicast.
rem include0=A
rem cm0=]

rem cm0=[C. 悖逓邿酄帷猗 & Manual Ghost Multicast.

rem caption=
rem caption=       MaxDOS 邿浃羴聜
rem caption=======================================
rem endnote=======================================
rem endnote=脙膭(Max)艆茊菄葓茊   Http://Pzz.Cn
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳羴聜諘,謻讞貥贆.

rem cm1=[A. Packet邿濂姒逓 & Packet NETWORK CARD Drive.
device=\soft\himem.sys /testmem:off
REM XM=\soft\xmgr.sys /w
device=\soft\umbpci.sys /s
REM RD=\soft\ramdrive.sys 10240 512 1024 /e
rem cm1=]

rem cm1=[B. NDIS邿濂姒逓 & Packet NETWORK CARD Drive.
rem include1=A
rem cm1=]

rem cm1=[C. NVIDIA邿濂姒逓v1 & NVIDIA Ethernet Adapter Drive v1.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv1.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=[D. NVIDIA邿濂姒逓v2 & NVIDIA Ethernet Adapter Drive v2.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv2.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=[E. NVIDIA邿濂姒逓v3 & NVIDIA Ethernet Adapter Drive v3.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv3.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS   
rem cm1=]

rem cm1=[F. NVIDIA邿濂姒逓v4 & NVIDIA Ethernet Adapter Drive v4.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv4.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS   
rem cm1=]

rem cm1=[G. NVIDIA邿濂姒逓v5 & NVIDIA Ethernet Adapter Drive v5.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv5.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=[H. NVIDIA邿濂姒逓v6 & NVIDIA Ethernet Adapter Drive v6.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv6.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=
rem cm0=]

REM 脙膭艆茊菄葓茊
REM 脙膭艆茊菄葓茊


rem cm0=[D. 绉瑷/椹戟氆飕 & Auto Backup/Restore System.
rem include0=A
rem cm0=]

rem cm0=[E. 憝町邿酄锆鸢 & Visit the share resources.
rem include0=A
device=\soft\IFSHLP.SYS
rem cm0=]

rem cm0=[F. 姒逓癖虿USB/SATA/1394/PCMCIA & Drive Support.

rem caption=
rem caption=USB/SATA/1394/PCMCIA姒逓羴聜
rem caption=======================================
rem endnote=======================================
rem endnote=脙膭(Max)艆茊菄葓茊   Http://Pzz.Cn
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳羴聜諘,謻讞貥贆.

rem cm1=[A. 姒逓UMB/SATA/CD & Drive Support.
rem include1=1
devicehigh=\soft\VIDE-CDD.SYS /D:IDECD1
devicehigh=\soft\GCDROM.SYS /D:SATACD1
rem cm1=]

rem cm1=[B. 姒逓USB & Drive Support
rem include1=1
devicehigh=\soft\USBASPI.SYS /V /norst
devicehigh=\soft\ASPIOHCI.SYS /INT /ALL
devicehigh=\soft\ASPIUHCI.SYS /INT /ALL
devicehigh=\soft\DI1000DD.SYS
devicehigh=\soft\USBCD.SYS /D:USBCD1
rem cm1=]

rem cm1=[C. 姒逓PCMCIA & Drive Support
rem include1=1
devicehigh=\soft\PCMADRV.SYS /P1 /QA
rem cm1=]

rem cm1=[D. 姒逓1394/SCSI & Drive Support
rem include1=1
devicehigh=\soft\SBP2ASPI.SYS
devicehigh=\soft\CDSDMINI.SYS /D:FWRCD
rem cm1=]

rem cm1=(1
device=\soft\himem.sys /testmem:off
REM XM=\soft\xmgr.sys /w
device=\soft\umbpci.sys /s
REM RD=\soft\ramdrive.sys 10240 512 1024 /e
rem cm1=)

rem cm1=
rem cm0=]

rem cm0=[G. 蟪DOS舸醯 & Mini DOS mode.
rem cm0=]

rem cm0=
   起作用的AUTOEXEC.BAT和CONFIG.SYS@echo off
::: Power By MaxStudio Http://MaxDOS.NetHttp://Pzz.Cn
IF %CM0%#==G# GOTO MaxDOSG
set EXPAND=YES
path=a:\;a:\soft
findramd
if %ramdrive%#==# xmsdsk 10240 x: /y | findramd >nul
if %ramdrive%#==X:# goto _stmax
a:\soft\subst.com x: %ramdrive%\ >nul

:_stmax
path=a:\;a:\soft;x:\;x:\lan;x:\soft;x:\net;x:\ng;x:\tmp;%ramdrive%\;%ramdrive%\lan;%ramdrive%\soft;%ramdrive%\net;%ramdrive%\ng;%ramdrive%\tmp
md %ramdrive%\Tmp >nul
md %ramdrive%\soft >nul
set temp=%ramdrive%\Tmp
set tmp=%ramdrive%\Tmp
pkunzip -O a:\soft\max.zip %ramdrive%\soft\ >nul
lh a:\soft\doskey.com >nul
lh %ramdrive%\soft\findcd.exe >nul
IF %CM0%#==A# GOTO MaxDOS1
IF %CM0%#==B# GOTO MaxDOS7
IF %CM0%#==D# GOTO MaxDOS3
IF %CM0%#==E# GOTO MaxDOS4
IF %CM0%#==F# GOTO MaxDOS5
IF %CM1%#==A# GOTO MaxDOS8
IF %CM1%#==B# GOTO MaxDOS6
IF %CM1%#==C# GOTO MaxDOS9
IF %CM1%#==D# GOTO MaxDOS9
IF %CM1%#==E# GOTO MaxDOS9
IF %CM1%#==F# GOTO MaxDOS9
IF %CM1%#==G# GOTO MaxDOS9
IF %CM1%#==H# GOTO MaxDOS9

:Maxdos1
call m.bat
         
         
         
         
         
         
         
         
         
         
rem 请不要删除上面的空行!!
goto _enk

:Maxdos3
rem call atbr.bat
call gh.bat
goto _enk

:MaxDOS4
echo Please wait.......
md %ramdrive%\net >nul
md %ramdrive%\ng >nul
pkunzip -o a:\maxnet\MAXNG.zip %ramdrive%\ng\ >nul
pkunzip -O a:\maxnet\MaxNet.zip %ramdrive%\net\ >nul
copy a:\maxnet\PROTMAN.EXE %ramdrive%\net >nul
call maxnet.bat
goto _enl

:MaxDOS5
LH a:\soft\SHSUCDX /D:?IDECD1 /D:?SATACD1 /D:?USCCD1 /D:?FWRCD
findcdx /s
echo RAM Drivers x:
goto _end

:MaxDOS6
echo Please wait..
md %ramdrive%\ng
copy a:\maxnet\PROTMAN.EXE %ramdrive%\ng\PROTMAN.EXE >nul
copy a:\maxnet\NETBIND.COM %ramdrive%\ng\NETBIND.COM >nul
pkunzip -o a:\maxnet\MAXNG.zip %ramdrive%\ng\ >nul
cls
echo Please wait....
call %ramdrive%\ng\Sngo.bat
goto _enl

:Maxdos7
echo Please wait..
md %ramdrive%\ng
copy a:\maxnet\PROTMAN.EXE %ramdrive%\ng\PROTMAN.EXE >nul
copy a:\maxnet\NETBIND.COM %ramdrive%\ng\NETBIND.COM >nul
pkunzip -o a:\maxnet\MAXNG.zip %ramdrive%\ng\ >nul
cls
echo Please wait....
call %ramdrive%\ng\netgh.bat
goto _enl

:MaxDOS8
md %ramdrive%\lan
pkunzip -O A:\maxnet\PKTBAT.zip %ramdrive%\ >nul
call pgo.bat
cls
goto _enl

:MaxDOS9
md %ramdrive%\ng >nul
GO a:\maxnet
netbind >nul
Call nfxgo.bat
goto _enl

:MaxDOSG
path=a:\;a:\soft;
cls
goto _enk

:_end
pause
call M.BAT
goto _enk

:_enl
call M.bat

:_enk

device=config.exe
device=ConMenu.sys
SHELL=command.com /P /E:640
dos=noauto,high,umb
files=80
stackshigh=9,256
lastdrive=z
buffers=20,8
numlock=off
rem color=07
rem default=A,7
rem caption=
rem caption=      MaxDOS 9 纮羴聜
rem caption=======================================
rem endnote=======================================
rem endnote=脙膭(Max)艆茊菄葓茊Http://MaxDOS.Net
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳羴聜諘,謻讞貥贆.

rem cm0=[A. MaxDOS艆跉蹧 & MaxDOS Tool BOX.
device=\soft\himem.sys /testmem:off
device=\soft\umbpci.sys /s
REM RD=\soft\ramdrive.sys 10240 512 1024 /e
rem cm0=]

rem cm0=[B. 軠轁逓邿酄帷猗 & Auto Ghost Multicast.
rem include0=A
rem cm0=]

rem cm0=[C. 悖逓邿酄帷猗 & Manual Ghost Multicast.

rem caption=
rem caption=       MaxDOS 邿浃羴聜
rem caption=======================================
rem endnote=======================================
rem endnote=脙膭(Max)艆茊菄葓茊   Http://Pzz.Cn
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳羴聜諘,謻讞貥贆.

rem cm1=[A. Packet邿濂姒逓 & Packet NETWORK CARD Drive.
device=\soft\himem.sys /testmem:off
device=\soft\umbpci.sys /s
REM RD=\soft\ramdrive.sys 10240 512 1024 /e
rem cm1=]

rem cm1=[B. NDIS邿濂姒逓 & Packet NETWORK CARD Drive.
rem include1=A
rem cm1=]

rem cm1=[C. NVIDIA邿濂姒逓v1 & NVIDIA Ethernet Adapter Drive v1.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv1.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=[D. NVIDIA邿濂姒逓v2 & NVIDIA Ethernet Adapter Drive v2.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv2.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=[E. NVIDIA邿濂姒逓v3 & NVIDIA Ethernet Adapter Drive v3.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv3.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS   
rem cm1=]

rem cm1=[F. NVIDIA邿濂姒逓v4 & NVIDIA Ethernet Adapter Drive v4.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv4.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS   
rem cm1=]

rem cm1=[G. NVIDIA邿濂姒逓v5 & NVIDIA Ethernet Adapter Drive v5.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv5.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=[H. NVIDIA邿濂姒逓v6 & NVIDIA Ethernet Adapter Drive v6.
rem include1=A
devicehigh=protman.dos /I:\maxnet
devicehigh=\maxnet\MaxNFv6.DOS
devicehigh=dis_pkt.dos
devicehigh=\maxnet\NDIS.DOS
rem cm1=]

rem cm1=
rem cm0=]

REM 脙膭艆茊菄葓茊
REM 脙膭艆茊菄葓茊


rem cm0=[D. 绉瑷/椹戟氆飕 & Auto Backup/Restore System.
rem include0=A
rem cm0=]

rem cm0=[E. 憝町邿酄锆鸢 & Visit the share resources.
rem include0=A
device=\soft\IFSHLP.SYS
rem cm0=]

rem cm0=[F. 姒逓癖虿USB/SATA/1394/PCMCIA & Drive Support.

rem caption=
rem caption=USB/SATA/1394/PCMCIA姒逓羴聜
rem caption=======================================
rem endnote=======================================
rem endnote=脙膭(Max)艆茊菄葓茊   Http://Pzz.Cn
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳羴聜諘,謻讞貥贆.

rem cm1=[A. 姒逓UMB/SATA/CD & Drive Support.
rem include1=1
devicehigh=\soft\VIDE-CDD.SYS /D:IDECD1
devicehigh=\soft\GCDROM.SYS /D:SATACD1
rem cm1=]

rem cm1=[B. 姒逓USB & Drive Support
rem include1=1
devicehigh=\soft\USBASPI.SYS /V /norst
devicehigh=\soft\ASPIOHCI.SYS /INT /ALL
devicehigh=\soft\ASPIUHCI.SYS /INT /ALL
devicehigh=\soft\DI1000DD.SYS
devicehigh=\soft\USBCD.SYS /D:USBCD1
rem cm1=]

rem cm1=[C. 姒逓PCMCIA & Drive Support
rem include1=1
devicehigh=\soft\PCMADRV.SYS /P1 /QA
rem cm1=]

rem cm1=[D. 姒逓1394/SCSI & Drive Support
rem include1=1
devicehigh=\soft\SBP2ASPI.SYS
devicehigh=\soft\CDSDMINI.SYS /D:FWRCD
rem cm1=]

rem cm1=(1
device=\soft\himem.sys /testmem:off
device=\soft\umbpci.sys /s
REM RD=\soft\ramdrive.sys 10240 512 1024 /e
rem cm1=)

rem cm1=
rem cm0=]

rem cm0=[G. 蟪DOS舸醯 & Mini DOS mode.
rem cm0=]

rem cm0=
   

不点 发表于 2016-12-6 18:00:25

抱歉,我没能理解哪里有毛病。不明白 “好像没起作用……” 究竟是指啥?

求道者 发表于 2016-12-6 18:14:57

不点 发表于 2016-12-6 18:00
抱歉,我没能理解哪里有毛病。不明白 “好像没起作用……” 究竟是指啥?

本来应该是直接起动hddreg.bat来着
结果并没有

不点 发表于 2016-12-6 19:30:31

求道者 发表于 2016-12-6 18:14
本来应该是直接起动hddreg.bat来着
结果并没有

怕是你自己没调试好吧,不像是 grub4dos 的错。

求道者 发表于 2016-12-6 19:48:18

本帖最后由 求道者 于 2016-12-6 19:56 编辑

不点 发表于 2016-12-6 19:30
怕是你自己没调试好吧,不像是 grub4dos 的错。

{:3_147:}我根本不知道这几个命令是干嘛的
这么高级的功能我就没用过
因为这个MASDOS实在太难用了
我就找了个增强版..................
但是Grub4dos菜单里的东西就移植无果了

cchessbd 发表于 2016-12-6 19:52:38

dd if=(fd0)/config.sys of=(fd0)/config.sys bs=1 skip=65 count=1 seek=185

把这个命令改成 write 命令吧。因为我对dd命令不熟悉。

pseudo 发表于 2016-12-6 20:00:20

行末一般要回车换行。

求道者 发表于 2016-12-6 20:01:15

cchessbd 发表于 2016-12-6 19:52
dd if=(fd0)/config.sys of=(fd0)/config.sys bs=1 skip=65 count=1 seek=185

把这个命令改成 write 命 ...

以我对dd命令的了解这应该是修剪config.sys之后让他执行第一个选项吧

cchessbd 发表于 2016-12-6 20:10:58

求道者 发表于 2016-12-6 20:01
以我对dd命令的了解这应该是修剪config.sys之后让他执行第一个选项吧

还有autoexec.bat,maxdos综合运用了grldr,config.sys,autoexec.bat。
你想直接运行hddreg的话,需要吧config.sys,autoexec.bat。的内容贴出来,别人才好帮你指出问题,

求道者 发表于 2016-12-6 21:04:10

cchessbd 发表于 2016-12-6 20:10
还有autoexec.bat,maxdos综合运用了grldr,config.sys,autoexec.bat。
你想直接运行hddreg的话,需要 ...

贴出来了
顺便把原来搞坏的云盘连接补了
页: [1] 2
查看完整版本: 不点大师求看看这个命令怎么了?关于grub4dos调用MaxDOS工具箱内部命令