Home > Commands N-Z > Configuration N

NUMLOCK


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Specifies whether the NUM LOCK key is set to ON or OFF when your computer starts. You can use this command only in your CONFIG.SYS file.


Syntax

NUMLOCK=ON | OFF


Parameters
ON | OFF (v2.0)
If set to ON, turns on the NUM LOCK key when the operating system displays the startup menu. If set to OFF, turns NUM LOCK off.

Switches

none.


Related

The NUMLOCK command is one of six special CONFIG.SYS commands for defining startup menus and multiple configurations. The other commands are as follows:

For an overview of the procedure for defining multiple configurations, see the topic "Commands for Defining Multiple Configurations".


Notes

Although the default setting for the x parameter is 8, some programs require a larger value. A typical setting is 30.

The value you set for FILES may not be the only determining factor in how many files a program can have open at a time. The design of the program may limit how many files it can have open.


Examples

To ensure that NUM LOCK is always ON when the startup menu appears, include in the [MENU] block.

This menu block defines three menu items, sets the default item to "full_config," and sets NUM LOCK to ON:

    [menu]
    MENUITEM=base_config,Base configuration only
    MENUITEM=full_config,Normal configuration
    MENUITEM=network,Normal configuration with network
    MENUDEFAULT=full_config
    NUMLOCK=ON

Errorlevels

none.


Availability
External
DOS
v2.0 v2.01 v2.05 v2.10 v2.11 v2.11R v2.12 v2.2 v2.25 v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
none
Windows NT
none