无忧启动论坛

标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错! [打印本页]

作者: sliuy0    时间: 2001-10-11 16:47
标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错!
[这个贴子最后由wwwfox在 2001/10/21 04:04am 编辑]

我做iso出现问题
可以看见启动菜单
按1后 lable 025 not found
按2后 lable mainkey ~~`
我的 cmd  文件如
:start
cls
print
print  --------------------------------------------------------------------------
print   Windows  98SE + ME Installation.     [Simplified Chinese]
print  --------------------------------------------------------------------------
print
print                Please choose your favorite from the menu below:
print
print      1.   Start 51 BootDisk v025
print      2.   Windows Millennium Edition      [HJPFQ-KXW9C-D7BRJ-JCGB7-Q2DRJ]
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 025
onkey 2 goto winme
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
;
:025
run 025.img
getkey
goto start
;
:winme
print Starting install Windows Millennium Edition
run winme.img
getkey
goto start
;
; EOF

作者: wuyou    时间: 2001-10-11 17:07
标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错!
注意,在diskemu.cmd 中的每一行后,不能留有空格,不然会出错。
遇上这种情况,先删除所有行尾空格,然后用winiso打开你做的ISO,删掉原来的diskemu.cmd,放入修改后的同名文件,然后用vmware进行测试。

作者: wuyou    时间: 2001-10-11 17:13
标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错!
另外,对多重启动ISO中的引导文件,如025.img、winme.img等,修改ISO的值来隐藏这些文件,会导致引导失败。
所以,不能对这些文件进行隐藏,但可以在ISO制作之前,在windows 中,把有关引导文件属性改为隐藏文件。
作者: sliuy0    时间: 2001-10-11 17:57
标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错!
呵呵~~~~~~~~` 看来
每一行后,不能留有空格,不然会出错
就是这里的问题 我编辑时在:winme 和run winme.img
后都有空格 但在记事本中看不到 后来我每行都进行了编辑问题解决 :)

作者: gaby    时间: 2001-10-21 01:59
标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错!
怎么sliuy0 可以发贴的。。。555
作者: wuyou    时间: 2001-10-21 04:01
标题: 〖注意〗在diskemu.cmd 中的每一行后,不能留有空格,不然会出错!
高级会员区只有我可以发主题贴,别人都不能发。
至于这个贴,是因为原来sliuy0在启动论坛发贴,我觉得大家要特别注意,所有转移到高级会员区。




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