FreeDOS help system (hhstndrd 1.0.8 en)[menudef]

Command: menudefault

MENUDEFAULT sets a time delayed default option for a config.sys / fdconfig.sys menu. MENUDEFAULT is a CONFIG.SYS / FDCONFIG.SYS command.

Syntax:

menudefault=defaultoption,delay

Options:

delay delay time in seconds defaultoption used standard option if delay time is over

Comments:

MENUDEFAULT sets a time delayed default option for a config.sys / fdconfig.sys menu: If no key has been pressed during 'delay' seconds, the default choice is activated. Pressing a key stops the countdown, the kernel will wait infinitely for the user to make a selection. Note that some virtual machines like Bochs can have broken (too fast) timing. MENUDEFAULT is a command internal to kernel.sys and needs no other file in order to work.

Examples:

IN CONFIG.SYS / FDCONFIG.SYS: menucolor 15,1 MENU Choose wisely: MENU MENU 0) normal driver (himem and emm386) MENU 1) alternative driver (himemx and jemm386) MENUDEFAULT=0,5 0?DEVICE=A:\himem.exe 1?DEVICE=A:\himemx.exe 0?DEVICE=A:\emm386.exe 1?DEVICE=A:\jemm386.exe The menu will wait 5 seconds. If no key is pressed in this time, option 0 is selected automatically. Menucolor 15,1 changes the colour to white text on blue background. 0 chooses himem.exe and emm386.exe, 1 chooses himem.exe and jemm386.exe

See also:

config.sys fdconfig.sys menu menucolor ------------------------------------------------------------------------------ Copyright (C) 2003 Robert Platt, updated 2011 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.