Home > Commands N-Z > Commands N

NLSFUNC


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

Starts the Nlsfunc program, which loads country-specific information for national language support (NLS).

You can use the NLSFUNC command either from the command-line or within your CONFIG.SYS file to support the use of country-specific information and character set (code page) switching.

Warning: Do not use the NLSFUNC command while Windows is running. If you do, your computer might stop responding.


Syntax

NLSFUNC [[drive:][path]country-filename]

In your CONFIG.SYS file:

INSTALL=[[dos-drive:]dos-path]NLSFUNC.EXE [country-filename]


Parameters
drive: ( path country-filename v3.20 Win95)
Specifies the location and name of the file containing country-specific information. If you use this parameter in the INSTALL command, you must include the drive and directory.
dos-drive: ( dos-path v3.20 Win95)
Specifies the location of NLSFUNC.EXE.

Switches

none.


Related

For information about displaying the current character set (code page), see the CHCP command.
For information about preparing a character set (code page), see the MODE (set device code pages) command.


Notes

The default value for [drive:][path]filename is defined by the COUNTRY command in your CONFIG.SYS file. If no COUNTRY command exists in CONFIG.SYS, Nlsfunc looks for COUNTRY.SYS in the root directory of the startup drive. Nlsfunc does not access the COUNTRY.SYS file until the operating system requests information from it. If the operating system cannot find the COUNTRY.SYS file when you install Nlsfunc, no error message is given. However, you will get an error message if you subsequently run a CHCP command.


Examples

To use the default country-specific information found in the COUNTRY.SYS file, type:

    NLSFUNC

Suppose you have a file called NEWCDPG.SYS that contains country-specific information. If you want to use the information from that file rather than from the COUNTRY.SYS file, type:

    NLSFUNC NEWCDPG.SYS

Errorlevels

none.


Availability
External
DOS
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
Windows
Win95 Win98
Windows NT
none

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively