Command: localcfg
LOCALCFG creates or edits COUNTRY.SYS local
preferences.
Syntax:
localcfg [drive:] [path] COUNTRY.SYS [options]
Options:
Options allow to configure country locales to your likening, as
follows:
id=XX Sets the country ID to XX (1= USA, 33=France, 48=Poland etc)
cp=XXX Adapts country data for codepage XXX (example: '437')
dec=X Reconfigures the decimal symbol to be 'X'
th=X Reconfigures the thousands separator to 'X'
nth Disables the thousands separator
ds=X Sets the date separator to 'X' (for example '/')
df=X Sets the date format, can be: MDY, DMY or YMD
ts=X Sets the time separator to 'X" (for example ':')
tf=X Sets the time format: 0=12h with AM/PM or 1=24h
c=XXX Sets the currency to XXX (a string of 1 to 4 characters)
cpos=X Sets the currency symbol to precede (X=0) or follow (X=1) the
value, or makes it replace the decimal sign
cspc=X Space between the currency and the value (0=no, 1=yes)
cprc=X Currency's precision (number of decimal digits, 0..9)
yn=XY Sets the 'Yes/No' letters to XY (must be uppercase! Yes/NO=YN)
If COUNTRY.SYS location is not provided, then localcfg tries loading
it from %DOSDIR%\CFG\COUNTRY.SYS
Comments:
Localcfg is a 16 bit tool designed for DOS that provides an easy way of
configurating system locales by generating a custom COUNTRY.SYS file
that reflects the exact preferences of the user. Localcfg supports NLS.
Older versions of localcfg may have other options. Run localcfg /? to
check them out.
Examples:
Settings for Germany:
localcfg country.sys /id=49 /cp=858 /dec=, /th=. /ds=. /df=DMY /ts=:
/tf=1 /c=EURO /cpos=1 /cspc=1 /cprc=2 /yn=JN
IMPORTANT HINT: The old version of localcfg has a small bug. You
can SPLIT the command to make it work, e.g.:
localcfg country.sys /id=49 ... /tf=1 ENTER
localcfg country.sys /c=EURO ... /yn=JN ENTER
This works as country.sys saves the first settings and then adds the
following.
See also:
country.sys
Copyright © 2015-2024 Mateusz Viste, help version 2024 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.