# 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

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## Options:

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

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## 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.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## 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

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      config.sys
      fdconfig.sys
      menu
      menucolor

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

      Copyright © 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.