Export (0) Print
Expand All
Dos
Mem
Msg
Expand Minimize

Country

Enables the MS-DOS subsystem to use international time, dates, currency, case conversions, and decimal separators.

Syntax

country= xxx[,[yyy][,[Drive:][Path] FileName]]

Parameters

xxx   : Specifies the Country/Region code.

yyy   : Specifies the code page for the Country/Region.

[ Drive : ][ Path ] FileName   : Specifies the location and name of the file containing Country/Region information.

/?   : Displays help at the command prompt.

Remarks

  • The country command configures the MS-DOS subsystem to recognize the character set and punctuation conventions observed when using one of the supported languages. Use the %systemroot%\System32\Config.nt file, or the equivalent startup file specified in a program's program information file (PIF), to load the Country/Region setting.

  • Specifying supported languages

    The following table lists each Country/Region or language supported by the MS-DOS subsystem. The table also lists the code pages you can use with each Country/Region code. For example, if you use Country/Region 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/Region or language is its default code page.

    Country/Region or language

    Country/Region code

    Code pages

    United States

    001

    437, 850

    Canadian-French

    002

    863, 850

    Netherlands

    031

    850, 437

    Belgium

    032

    850, 437

    France

    033

    850, 437

    Spain

    034

    850, 437

    Hungary

    036

    852, 850

    Italy

    039

    850, 437

    Switzerland

    041

    850, 437

    Czech Republic

    042

    852, 850

    Slovakia

    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

  • Specifying international time and date formats

    The Country/Region code specifies the time and date formats used by the following commands: backup, date, and time.

    The following table lists the time and date formats related to each Country/Region code. For each Country/Region code, the Date format column shows the display for January 3, 1994, and the Time format column shows the display for 5:35 P.M. (with 0 seconds and 0 hundredths of a second).

    Country/Region or language

    Country/Region code

    Date format

    Time format

    United States

    001

    01/03/1994

    5:35:00.00p

    Canadian-French

    002

    1994-01-03

    17:35:00

    Latin America

    003

    03/01/1994

    5:35:00.00p

    Netherlands

    031

    03-01-94

    17:35:00

    Belgium

    032

    03/01/94

    17:35:00

    France

    033

    03.01.1994

    17:35:00

    Spain

    034

    3/01/94

    17:35:00

    Hungary

    036

    1994.01.03

    17:35:00

    Italy

    039

    03/01/94

    17.35.00

    Switzerland

    041

    03.01.94

    17 35.00

    Czech Republic

    042

    03.01.1994

    17:35:00

    Slovakia

    042

    03.01.1994

    17:35:00

    United Kingdom

    044

    03/01/94

    17:35:00.00

    Denmark

    045

    03-01-94

    17.35.00

    Sweden

    046

    1994-01-03

    17.35.00

    Norway

    047

    03.01.94

    17:35:00

    Poland

    048

    1994-01-03

    17:35:00

    Germany

    049

    03.01.1994

    17:35:00

    Brazil

    055

    03/01/94

    17:35:00

    International English

    061

    03/01/1994

    17:35:00.00

    Portugal

    351

    03-01-1994

    17:35:00

    Finland

    358

    3.1.1994

    17.35.00

Examples

To convert international currency, time, date, and case to French conventions, add the following command to your Config.nt file:

country=033

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

country=033,850

If you omit the code page but include the [Drive:][Path] FileName parameter, you must still type the comma that would have preceded the code page, as the following example shows:

country=033,,c:\winnt\system32\country.sys

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft