Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ country(CMD) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 country(CMD)                    19 June 1992                    country(CMD)


 Name

    country - enable MS-DOS to use international time, dates, currency, case
    conversions, and decimal separators

 Syntax


    country=xxx[,[yyy][,[drive:] [path]filename]]


 Description

    The country command configures MS-DOS to recognize the character set and
    punctuation conventions observed when using one of the supported lan-
    guages.

 Parameters


    xxx   Specifies the country code.

    yyy   Specifies the code page for the country.

    [drive:][path]filename
          Specifies the location and name of the file containing country in-
          formation.


 Notes


    Changing default settings

    MS-DOS uses the United States as the default setting.  You can use the
    country command in your CONFIG.SYS file to change the setting.

    If you do not specify the location and name of the file containing
    country-specific information, MS-DOS tries to find the COUNTRY.SYS file
    in the root directory of your startup drive.

    Specifying supported languages

    The following table lists each country or language supported by MS-DOS
    version 5.0.  The table also lists the code pages you can use with each
    country code.  For example, if you use country code 003, you can use only
    code page 437 or 850 for the yyy parameter.  The first of the two code
    pages listed for each country or language is its default code page.

    _________________________________________________________________________
    Country or language      Country code    Code pages
    _________________________________________________________________________
    United States            001             437, 850
    Canadian-French          002             863, 850
    Latin America            003             850, 437
    Netherlands              031             850, 437
    Belgium                  032             850, 437
    France                   033             850, 437
    Spain                    034             850, 437
    Hungary                  036             852, 850
    Yugoslavia               038             852, 850
    Italy                    039             850, 437
    Switzerland              041             850, 437
    Czechoslovakia           042             852, 850
    United Kingdom           044             437, 850
    Denmark                  045             850, 865
    Sweden                   046             850, 437
    Norway                   047             850, 865
    Poland                   048             852, 850
    Germany                  049             850, 437
    Brazil                   055             850, 437
    International English    061             437, 850
    Portugal                 351             850, 860
    Finland                  358             850, 437


    Code pages for the following countries or languages are also available
    with special versions of MS-DOS: Arabic, Israel, Japan, Korea, People's
    Republic of China, and Taiwan.

    Specifying international time and date formats

    The country code specifies the time and date formats used by the follow-
    ing MS-DOS commands:  backup(CMD), date(CMD), restore(CMD), and
    time(CMD).

    The following table lists the date and time formats related to each coun-
    try code.  For each country code, the ``Date format'' column shows how
    MS-DOS displays January 3, 1991, and the ``Time format'' column shows how
    MS-DOS displays 5:35 P.M. (with 0 seconds and 0 hundredths of a second).

    _________________________________________________________________________
    Country or language    Country code   Date format  Time format
    _________________________________________________________________________
    United States          001            01/03/1991   5:35:00.00p
    Canadian-French        002            1991-01-03   17:35:00,00
    Latin America          003            03/01/1991   5:35:00.00p
    Netherlands            031            03-01-1991   17:35:00,00
    Belgium                032            03/01/1991   17:35:00,00
    France                 033            03.01.1991   17:35:00,00
    Spain                  034            03/01/1991   17:35:00,00
    Hungary                036            1991-01-03   17:35:00,00
    Yugoslavia             038            1991-01-03   17:35:00,00
    Italy                  039            03/01/1991   17.35.00,00
    Switzerland            041            03.01.1991   17,35,00.00
    Czechoslovakia         042            1991-01-03   17:35:00,00
    United Kingdom         044            03/01/1991   17:35:00.00
    Denmark                045            03-01-1991   17.35.00,00
    Sweden                 046            1991-01-03   17.35.00,00
    Norway                 047            03.01.1991   17:35:00,00
    Poland                 048            1991-01-03   17:35:00,00
    Germany                049            03.01.1991   17:35:00,00
    Brazil                 055            03/01/1991   17:35:00,00
    International English  061            03/01/1991   17:35:00.00
    Portugal               351            03-01-1991   17:35:00,00
    Finland                358            03.01.1991   17.35.00,00


    Code pages for the following countries or languages are also available
    with special versions of MS-DOS: Arabic, Israel, Japan, Korea, People's
    Republic of China, and Taiwan.

 Examples

    To convert international currency, time, date, and case to French conven-
    tions, add the following command to your CONFIG.SYS file:

       country=033


    For this example, assume that the COUNTRY.SYS file is in the root direc-
    tory of the startup drive.  If COUNTRY.SYS is in a different location,
    you specify the location in [drive:]path on the command line.

    To specify a code page with the country code for France, type the follow-
    ing:

       country=033,850


    If you omit the code page but include the [drive:]  [path]filename param-
    eter, you must still type the comma that would have preceded the code
    page, as the following example shows:

       country=033,,c:\dos\country.sys


 Related commands

    For information about changing characters and their arrangement on your
    keyboard, see the keyb(CMD) command.

    For information about preparing and selecting code pages, see the
    mode(CMD) (set device code pages) command.

    For information about loading country-specific information, see the
    nlsfunc(CMD) command.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026