无忧启动论坛

标题: 有關 Diskemu.cmd 問題?[9/20] [打印本页]

作者: kuang001    时间: 2002-9-20 00:07
标题: 有關 Diskemu.cmd 問題?[9/20]
版主鈞鑒:
  
    弟最進試著做類似無憂二號 Win2k + Win98二合一系統?
有幾個疑問想請教?

1).為何製作出 DISKEMU.CMD 選單只有一次機會,倘若選錯會顯示如下
   訊息!
   Label "MAINKEY" not found
   />
   這應如何解決?
2).不知可否告知?run 後面 WPROSECT.DAT 第二層引導程式是如何做出
   ?可否告知製作方法或參考文件!因您範例檔 5cnsp3.rar 有用到許多
    如 BD011022.BIN 這種檔!  
附件: diskemu.cmd 內容
:start
cls
print
print  --------------------------------------------------------------------------
print   Windows 2000 2IN1 SP3 + 98SE                     [Traditional Chinese]
print  --------------------------------------------------------------------------
print
print                Please choose your favorite from the menu below:
print
print      1.   Windows 2000 Professional       [PQHKR-G4JFW-VTY3P-G4WQ2-88CTW]
print      2.   Windows 2000 Server             [H6TWQ-TQQM8-HXJYG-D69F7-R84VM]  
print      3.   Windows 98 Second Edition       [QY7TT-VJ7VG-7QPHY-QXHD3-B838Q]
print
print         
print      
print
print
print               F1 = HELP   R = Reboot   Esc = Boot first harddisk
print
print
print      Please copy it on some paper for further use of installation.
print   
print
print  --------------------------------------------------------------------------
print   Bootable CD main menu                              http://www.wwwfox.net
print  --------------------------------------------------------------------------
:mainkey
; timeout is 20 seconds, default key is escape
getkey 20 esc
onkey 1 goto pro
onkey 2 goto ser
onkey 3 goto win98
onkey r reboot
onkey f1 goto help
onkey esc boot 80
; When no key found...
goto mainkey
;
:help
cls
print HELP
print ----
print  + Have ISO9660 filesystem support, you can do "dir" and "cd"
print  + A "advanced" command prompt to load anything you want
print  + A simple bootmenu for "less" advanced users
print  + Autodetection of floppy image types (by filesize)
print  + Using a bootable Diskemu 1.x CD-Rom, you can even boot images from "non-
print    bootable" CD-Roms, just swap the CD, type "cd \" and you can use that CD.
print    (Cool!)
print  + You can create a multiboot bootable CD-Rom using (almost) any recording
print    software you want
print  + Supported floppy types: 160KB, 180KB, 320KB, 360KB, 1.2MB, 720KB, 820KB,
print    1.44MB, 1.68MB, 1.72MB, 2.88MB
print
print  All supported command are listed below.
print
print  batch       boot         bootinfotable     cd          cls         dir
print  echo        emusegm      getkey            goto        help        keyval
print  loadsegm    onkey        print             quit        readtest    reboot
print  run         test         type              ver
print
print  help <command> (or ?)   Displays help about <command>
print
print  Press any key to return to main menu
getkey
goto start
;
:pro
print Starting install windows 2000 professional sp3
run WPROSECT.DAT
getkey
goto start
;
:ser
print Starting install windows 2000 server sp3
run WSRVSECT.DAT
getkey
goto start
;
:advser
print Starting install windows 2000 adv_server sp3
run ASRVSECT.DAT
getkey
goto start
;
:win98
print Starting install windows 98
run WIN98.IMG
getkey
goto start
;
; EOF

作者: wuyou    时间: 2002-9-20 01:11
标题: 有關 Diskemu.cmd 問題?[9/20]
1).為何製作出 DISKEMU.CMD 選單只有一次機會,倘若選錯會顯示如下
  訊息!
  Label "MAINKEY" not found
可能是你的DISKEMU.CMD中,在下面这一行尾有隐藏的空格,你仔细检查一下.
:mainkey
2).不知可否告知?run 後面 WPROSECT.DAT 第二層引導程式是如何做出
  ?可否告知製作方法或參考文件!因您範例檔 5cnsp3.rar 有用到許多
   如 BD011022.BIN 這種檔!  
有关中文菜单,这里没有做更多的介绍,如果你有兴趣,可以看看无忧启动论坛上的贴子.




欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3