中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-27 05:33
47,815 topics / 349,928 posts / today 0 new / 48,289 members
DOS启动盘 & LOGO技术 (启动盘室) » Delete me, it's solved.
Printable Version  2,302 / 9
Floor1 suiyuanye Posted 2006-08-23 00:57
中级用户 Posts 94 Credits 289
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 ]
Floor2 fastslz Posted 2006-08-24 13:17
铂金会员 Posts 2,315 Credits 5,493 From 上海
CONFIG.SYS content
[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 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
Floor3 suiyuanye Posted 2006-09-19 03:07
中级用户 Posts 94 Credits 289
:
: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
Floor4 不得不爱 Posted 2006-09-20 06:19
超级版主 Posts 2,044 Credits 5,310 From 四川南充
That requires a program to support!
Floor5 cmyhome Posted 2006-09-20 21:07
初级用户 Posts 30 Credits 74
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.
Floor6 chujiafu Posted 2006-09-21 05:55
银牌会员 Posts 595 Credits 1,339 From 安徽 宿州
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?
Floor7 不得不爱 Posted 2006-09-22 08:00
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Then you write it well, okay? I haven't heard that DOS internal commands combined with CONFIG.SYS can start floppy disks, hard disks, CDs, USB!
Floor8 suiyuanye Posted 2006-09-22 12:02
中级用户 Posts 94 Credits 289
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.
Floor9 llm Posted 2006-09-23 07:25
元老会员 Posts 294 Credits 840
Does EasyBoot support booting from USB?
Never heard of it
Floor10 雨露 Posted 2006-09-23 07:39
管理员 Posts 2,601 Credits 6,215
Solved the problem and then deleted the thread? I don't understand the LZ's meaning...
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023