Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Country command in dos

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you how to use the Country command in dos, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Country

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

Grammar

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

Parameters.

Xxx

Specify the country code.

Yyy

Specifies the code page of the country.

[Drive:} [Path] FileName

Specify the location and name of the file that contains the country information.

/?

Displays help at the command prompt.

Annotation

The country command configures the MS-DOS subsystem to recognize the character set used by one of the supporting languages and the punctuation protocol followed. Load the country setting using the% systemroot%\ System32\ Config.nt file or the equivalent startup file specified in the program information file (PIF) of the program.

Specify supported languages

The following table lists all countries or languages supported by the MS-DOS subsystem. This table lists the code pages that can use each country code. For example, if you are using a country code of 003, you can use only code page 437 or 850 for the yyy parameter. The first page of the two code pages listed for each country or language is the default code page.

Country (region) or language country code page

United States 001 437,850

Canada-French 002 863,850

Netherlands 031 850437

Belgium 032 850437

France 033 850437

Spain 034 850437

Hungary 036 852,850

Italy 039 850437

Switzerland 041 850437

Czech Republic 042 852,850

Slovakia 042 852,850

United Kingdom 044 437,850

Denmark 045 850865

Sweden 046 850437

Norway 047 850865

Poland 048 852,850

Germany 049 850437

Brazil 055 850437

International English 061 437,850

Portugal 351 850,860

Finland 358 850437

Specify international time and date format

The country code specifies the time and date format used for the following commands: backup, date, and time.

The following table lists the date and time formats associated with each country code. For each country code, the date format shows January 3, 1994, and the time format shows 5:35 P.M. (0 for both seconds and 1% seconds).

Country (region) or language (region) code date format time format

United States 001 01max 03Compact 1994 5V 35V 00.00p

Canada-French 002 1994-01-03 17:35:00

Latin America 003 03ax 01max 1994 5V 35V 00.00p

Netherlands 031 03-01-94 17:35:00

Belgium 032 03 Compact 01 Compact 94 17:35:00

France 033 03.01.1994 17:35:00

Spain 034 17:35:00 on 3-01-94

Hungary 036 1994.01.03 17:35:00

Italy 039 03Compact 01Compact 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

UK 044 03Compact 01Compact 94 17purl 35mm 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 03Compact 01Compact 94 17:35:00

International English 061 03Compact 01hand 1994 1715 3515 00.00

Portugal 351 03-01-1994 17:35:00

Finland 358 3.1.1994 17.35.00

Example

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

Country=033

To specify the code page with the French country code, type:

Country=033850

If you omit the code page but include the [Drive:] [Path] FileName parameter, you must still type a comma that precedes the code page, as shown in the following example:

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

The above is all the contents of the article "how to use Country commands in dos". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report