2.0  Using DOS

2.12 SYSTEM CONFIGURATION COMMANDS

 


COUNTRY

 

Type: Internal

 

Syntax: COUNTRY=country code,[code page][,][d:][filename]

 

Purpose: Used in the CONFIG.SYS file to tell DOS to use country-specific text conventions during processing.

 

Discussion

 

The COUNTRY command affects the following items: date and time formats, the thousands and decimal characters used in numbers, the location and symbol used for currency, upper-to lowercase conversions, and alphabetical sorting order. The filename indicates a file that contains country-specific information (the default file name is COUNTRY.SYS).

 

An application program must be written to support the international features of DOS, otherwise the settings specified with the COUNTRY command will be ignored (refer to Appendix B for country-specific information).

Options

 

countrycode - A three-digit number used to specify the country code you want to use. The countrycode numbers are generally based on the international long-distance telephone codes. The default value is 091 for the India.

 

codepage - Specifies the character set to be used for the specified country. The default code page for the specified country will be used if no codepage is entered.

 

Example

 

To set the country to the India using the default codepage using the COUNTRY.SYS file located in the DOS directory on drive C, enter country=091,,c:\dos\country.sys

 

 


2.13 BATCH FILE COMMANDS

 

Just like all DOS commands when creating batch files they are not case sensitive however in the below listing we have listed all commands in all caps to help you identify what are batch file commands.

 

ECHO

 

Will echo a message in the batch file. Such as ECHO Hello World when the batch file is ran it will say Hello World. Note if you have not typed @ECHO OFF at the beginning of the file this will say ECHO Hello World then Hello World. If you would just like to create a blank line type ECHO. adding the period creates an empty line.

 

 

PAUSE

 

This will prompt the user to press any key to continue.

 

 

REM

 

Allows you to place comments into the batch file without having them be ran.


Using Windows (Chap3)

Copyright © 2001 Selfonline-Education. All rights reserved.