how to make multiple selections in DOS config.sys with submenus?












0















here is what I am trying to accomplish:



when booting DOS, using config.sys,



have a selection of CD drivers to choose from



AND



have a selection of USB drivers to choose from



AND



choose between load EMM386 or not



AND



choose between load mouse driver or not



any ONE of those can be done with a menu. but not ALL of them.



if you try making a submenu for each one, that's fine, but the moment you select anything, that selection gets run and DOS starts. you didn't get to make the other choices too.



if there is a way to [make a selection and load a driver] then return to the main menu, that would be the right way to approach this, but I don't know how to do it. as far as I know you can't do it.



INCLUDE=MENU doesn't work. SUBMENU=MENU dosn't work unless you're already in the menu and haven't made any choices yet. you can't copy another menu structure below the first one because once you make a choice and it loads a driver, it ignores any other [MENU] structure that comes later on.



I even tried having a selection set a value instead of loading a driver with the idea that the menu can have a final selection of "commit" where it goes to a final block and uses if/then to load drivers, but that didn't work because you still can't make it return to the main menu for anything.



how can this be done?










share|improve this question























  • probably you'll want to ask this on Retrocomputing

    – phuclv
    Feb 8 at 4:35











  • MS-DOS have no this possibility. You can: 1) Create 16 menu elements (each element = some combination of options); 2) Build 4 submenu pairs (each pair with separate optoin selection) and build the selection chain from them. 3) Create your own executable loaded as a non-TSR device driver which performs draw the menu with enable/disable multi-selections and executions you need.

    – Akina
    Feb 8 at 4:49


















0















here is what I am trying to accomplish:



when booting DOS, using config.sys,



have a selection of CD drivers to choose from



AND



have a selection of USB drivers to choose from



AND



choose between load EMM386 or not



AND



choose between load mouse driver or not



any ONE of those can be done with a menu. but not ALL of them.



if you try making a submenu for each one, that's fine, but the moment you select anything, that selection gets run and DOS starts. you didn't get to make the other choices too.



if there is a way to [make a selection and load a driver] then return to the main menu, that would be the right way to approach this, but I don't know how to do it. as far as I know you can't do it.



INCLUDE=MENU doesn't work. SUBMENU=MENU dosn't work unless you're already in the menu and haven't made any choices yet. you can't copy another menu structure below the first one because once you make a choice and it loads a driver, it ignores any other [MENU] structure that comes later on.



I even tried having a selection set a value instead of loading a driver with the idea that the menu can have a final selection of "commit" where it goes to a final block and uses if/then to load drivers, but that didn't work because you still can't make it return to the main menu for anything.



how can this be done?










share|improve this question























  • probably you'll want to ask this on Retrocomputing

    – phuclv
    Feb 8 at 4:35











  • MS-DOS have no this possibility. You can: 1) Create 16 menu elements (each element = some combination of options); 2) Build 4 submenu pairs (each pair with separate optoin selection) and build the selection chain from them. 3) Create your own executable loaded as a non-TSR device driver which performs draw the menu with enable/disable multi-selections and executions you need.

    – Akina
    Feb 8 at 4:49
















0












0








0








here is what I am trying to accomplish:



when booting DOS, using config.sys,



have a selection of CD drivers to choose from



AND



have a selection of USB drivers to choose from



AND



choose between load EMM386 or not



AND



choose between load mouse driver or not



any ONE of those can be done with a menu. but not ALL of them.



if you try making a submenu for each one, that's fine, but the moment you select anything, that selection gets run and DOS starts. you didn't get to make the other choices too.



if there is a way to [make a selection and load a driver] then return to the main menu, that would be the right way to approach this, but I don't know how to do it. as far as I know you can't do it.



INCLUDE=MENU doesn't work. SUBMENU=MENU dosn't work unless you're already in the menu and haven't made any choices yet. you can't copy another menu structure below the first one because once you make a choice and it loads a driver, it ignores any other [MENU] structure that comes later on.



I even tried having a selection set a value instead of loading a driver with the idea that the menu can have a final selection of "commit" where it goes to a final block and uses if/then to load drivers, but that didn't work because you still can't make it return to the main menu for anything.



how can this be done?










share|improve this question














here is what I am trying to accomplish:



when booting DOS, using config.sys,



have a selection of CD drivers to choose from



AND



have a selection of USB drivers to choose from



AND



choose between load EMM386 or not



AND



choose between load mouse driver or not



any ONE of those can be done with a menu. but not ALL of them.



if you try making a submenu for each one, that's fine, but the moment you select anything, that selection gets run and DOS starts. you didn't get to make the other choices too.



if there is a way to [make a selection and load a driver] then return to the main menu, that would be the right way to approach this, but I don't know how to do it. as far as I know you can't do it.



INCLUDE=MENU doesn't work. SUBMENU=MENU dosn't work unless you're already in the menu and haven't made any choices yet. you can't copy another menu structure below the first one because once you make a choice and it loads a driver, it ignores any other [MENU] structure that comes later on.



I even tried having a selection set a value instead of loading a driver with the idea that the menu can have a final selection of "commit" where it goes to a final block and uses if/then to load drivers, but that didn't work because you still can't make it return to the main menu for anything.



how can this be done?







ms-dos






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 8 at 3:08









FyodorFyodor

1




1













  • probably you'll want to ask this on Retrocomputing

    – phuclv
    Feb 8 at 4:35











  • MS-DOS have no this possibility. You can: 1) Create 16 menu elements (each element = some combination of options); 2) Build 4 submenu pairs (each pair with separate optoin selection) and build the selection chain from them. 3) Create your own executable loaded as a non-TSR device driver which performs draw the menu with enable/disable multi-selections and executions you need.

    – Akina
    Feb 8 at 4:49





















  • probably you'll want to ask this on Retrocomputing

    – phuclv
    Feb 8 at 4:35











  • MS-DOS have no this possibility. You can: 1) Create 16 menu elements (each element = some combination of options); 2) Build 4 submenu pairs (each pair with separate optoin selection) and build the selection chain from them. 3) Create your own executable loaded as a non-TSR device driver which performs draw the menu with enable/disable multi-selections and executions you need.

    – Akina
    Feb 8 at 4:49



















probably you'll want to ask this on Retrocomputing

– phuclv
Feb 8 at 4:35





probably you'll want to ask this on Retrocomputing

– phuclv
Feb 8 at 4:35













MS-DOS have no this possibility. You can: 1) Create 16 menu elements (each element = some combination of options); 2) Build 4 submenu pairs (each pair with separate optoin selection) and build the selection chain from them. 3) Create your own executable loaded as a non-TSR device driver which performs draw the menu with enable/disable multi-selections and executions you need.

– Akina
Feb 8 at 4:49







MS-DOS have no this possibility. You can: 1) Create 16 menu elements (each element = some combination of options); 2) Build 4 submenu pairs (each pair with separate optoin selection) and build the selection chain from them. 3) Create your own executable loaded as a non-TSR device driver which performs draw the menu with enable/disable multi-selections and executions you need.

– Akina
Feb 8 at 4:49












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403386%2fhow-to-make-multiple-selections-in-dos-config-sys-with-submenus%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403386%2fhow-to-make-multiple-selections-in-dos-config-sys-with-submenus%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How do I know what Microsoft account the skydrive app is syncing to?

When does type information flow backwards in C++?

Grease: Live!