|
suiyuanye
中级用户
  
积分 289
发帖 94
注册 2006-6-6
状态 离线
|
『楼 主』:
删了我吧,解决了。
使用 LLM 解释/回答一下
如何实现启动dos后出现一个菜单,内容如下:
1.Boot from Disk
2.Boot from CD-ROM
3.Boot from Floppy
4.Boot from USB
当用上下方向键选择相应的菜单并回车后或输入1、2、3 or 4时能在相应的盘上启动的方法,一简单一好。
不要给说什么GNU什么的好不好,大哥,那个我不会。
Last edited by suiyuanye on 2006-9-21 at 12:59 ]
How to implement a menu that appears after booting DOS, with the following content:
1. Boot from Disk
2. Boot from CD-ROM
3. Boot from Floppy
4. Boot from USB
The method where when the corresponding menu is selected using the up and down arrow keys and then pressed Enter or when 1, 2, 3, or 4 is entered, it can boot from the corresponding disk, one simple and one good.
Don't talk about GNU or something, okay, brother, I don't know that.
Last edited by suiyuanye on 2006-9-21 at 12:59 ]
|
|
2006-8-23 00:57 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
CONFIG.SYS内容
[MENU]
MENUITEM=DISK, Boot from Disk
MENUITEM=CDROM, Boot from CD-ROM
MENUITEM=FLOPPY, Boot from Floppy
MENUITEM=USB, Boot from USB
MENUCOLOR=14,1
MENUDEFAULT=DISK,20
[DISK]
........
[CDROM]
........
[FLOPPY]
........
[USB]
...........
[COMMON]
SHELL=COMMAND.COM /E:1024 /P
DOS=HIGH,UMB
FCBS=4,0
FILES=30
BUFFERS=20,0
STACKS=9,256
LASTDRIVE=Z
AUTOEXEC.BAT内容
FOR %%a in (DISK CDROM FLOPPY USB) DO IF "%CONFIG%"=="%%a" GOTO %%a
:DISK
......
GOTO END
:CDROM
......
GOTO END
:FLOPPY
......
GOTO END
:USB
......
GOTO END
:END
CONFIG.SYS content
MENUITEM=DISK, Boot from Disk
MENUITEM=CDROM, Boot from CD-ROM
MENUITEM=FLOPPY, Boot from Floppy
MENUITEM=USB, Boot from USB
MENUCOLOR=14,1
MENUDEFAULT=DISK,20
........
........
........
...........
SHELL=COMMAND.COM /E:1024 /P
DOS=HIGH,UMB
FCBS=4,0
FILES=30
BUFFERS=20,0
STACKS=9,256
LASTDRIVE=Z
AUTOEXEC.BAT content
FOR %%a in (DISK CDROM FLOPPY USB) DO IF "%CONFIG%"=="%%a" GOTO %%a
:DISK
......
GOTO END
:CDROM
......
GOTO END
:FLOPPY
......
GOTO END
:USB
......
GOTO END
:END
|
|
2006-8-24 13:17 |
|
|
suiyuanye
中级用户
  
积分 289
发帖 94
注册 2006-6-6
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
:DISK
......这写什么呢??
GOTO END
:CDROM
......这写什么呢??
GOTO END
:FLOPPY
......这写什么呢??
GOTO END
:USB
......这写什么呢??
GOTO END
:END
:
:DISK
......What is written here??
GOTO END
:CDROM
......What is written here??
GOTO END
:FLOPPY
......What is written here??
GOTO END
:USB
......What is written here??
GOTO END
:END
|
|
2006-9-19 03:07 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-9-20 06:19 |
|
|
cmyhome
初级用户
 
积分 74
发帖 30
注册 2006-6-1
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
回3楼的,就是写你每项菜单要运行的命令;
回4楼的,全是DOS内部命令,什么都不用。
Reply to floor 3, which is to write the command that each menu item should run;
Reply to floor 4, all are DOS internal commands, no need for anything.
|
|
2006-9-20 21:07 |
|
|
chujiafu
银牌会员
    
积分 1339
发帖 595
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
Originally posted by fastslz at 2006-8-24 01:17 PM:
CONFIG.SYS内容
MENUITEM=DISK, Boot from Disk
MENUITEM=CDROM, Boot from CD-ROM
MENUITEM=FLOPPY, Boot from Floppy
MENUITEM=USB, Boot from USB
MENUCOLOR=14,1
MENUDEFAULT=DISK,20
兄弟,用你的这种方法能从光盘启动吗?
Originally posted by fastslz at 2006-8-24 01:17 PM:
CONFIG.SYS content
MENUITEM=DISK, Boot from Disk
MENUITEM=CDROM, Boot from CD-ROM
MENUITEM=FLOPPY, Boot from Floppy
MENUITEM=USB, Boot from USB
MENUCOLOR=14,1
MENUDEFAULT=DISK,20
Bro, can this method you mentioned boot from the CD-ROM?
|
|
2006-9-21 05:55 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-9-22 08:00 |
|
|
suiyuanye
中级用户
  
积分 289
发帖 94
注册 2006-6-6
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
楼上的,我用的是EBOOT,光用DOS内部命令配合CONFIG.SYS是实现不了的,谢谢你们。
The person upstairs, I'm using EBOOT. It can't be achieved by just using DOS internal commands together with CONFIG.SYS. Thank you all.
|
|
2006-9-22 12:02 |
|
|
llm
元老会员
        
积分 840
发帖 294
注册 2003-9-27
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
easyboot难道可以从usb启动?
没听说
Does EasyBoot support booting from USB?
Never heard of it
|
|
2006-9-23 07:25 |
|
|
雨露
管理员
          DOS非常爱好者
积分 6209
发帖 2598
注册 2006-1-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
解决问题了就删主题?不解楼主的意思................
Solved the problem and then deleted the thread? I don't understand the LZ's meaning...
|

|
|
2006-9-23 07:39 |
|