Country enables the MS-DOS subsystem to use international time, date, currency, case conversion, and decimal separator _dos/bat

Source: Internet
Author: User
Tags character set time and date
Country
Enables the MS-DOS subsystem to use international time, date, currency, case conversions, and decimal separators.

Grammar
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 information file containing the country (region).
/?
Display Help at the command prompt.
Comments
The country command configures an MS-DOS subsystem to recognize the character set used in one of the supporting languages and the following punctuation agreement. Loads the country setting by using the%systemroot%\system32\config.nt file or the equivalent boot file specified in the program information file (PIF) of the procedure.
Specify the supported languages
The following table lists all the countries (regions) or languages that are supported by the MS-DOS subsystem. This table lists the code pages that you can use for each country or region code. For example, if you are using a country code of 003, you can use code page 437 or 850 for the yyy parameter only. The first page of the two code pages listed for each country or locale is the default code page.

Country (region) or language country (region) code page
United States 001 437, 850
Canada-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
UK 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

Specify international time and date formats
The country code specifies the time and date format used for the following commands: Backup, date, and times.

The following table lists the date and time formats associated with each country (region) code. For each country code, the date format bar displays January 3, 1994, and the time format bar displays 5:35 p.m. (Seconds and 1% seconds are 0).

Country (region) or language country (region) code date format time format
American 001 01/03/1994 5:35:00.00p
Canada-French 002 1994-01-03 17:35:00
Latin American 003 03/01/1994 5:35:00.00p
Holland 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
British 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

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

country=033

Specify the code page with the country/region code for France, type:

country=033,850

If you omit the code page but include the [Drive:][path] FileName argument, you must still type the comma before the code page, as shown in the following example:

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

XOX

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.