China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-18 02:36
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Discussion of implementing multi-level menus and how to return View 832 Replies 1
Original Poster Posted 2006-04-03 18:33 ·  中国 湖北 武汉 电信
初级用户
Credits 54
Posts 19
Joined 2006-03-31 18:09
20-year member
UID 53117
Status Offline
Discussion of implementing multi-level menus and how to return

Discussion of implementing multi-level menus and how to return


I made a USB boot disk myself, mainly for my family to use. Because it has quite a lot of content, I implemented a multi-level menu. Now I've run into a problem: after entering a submenu, if I don't want to proceed, I don't know how to return to the previous menu. Like in fdisk, pressing the Esc key returns you. I want to ask how to implement this. Could you give me a hint or an example? Thanks!!
Floor 2 Posted 2006-04-03 20:40 ·  中国 河北 保定 移动
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
For this kind of menu that calls programs, it's best to use menustar or Horst's wbat to do it.

For examples of menustar, you can refer to the examples in Wuyou Boot CD 3.1.

As for how to use wbat, the demonstrations provided by Horst are already quite rich.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Forum Jump: