Link to home
Start Free TrialLog in
Avatar of TyBay
TyBay

asked on

Vista Regional Settings - non-interactive mode

In Vista I have heard that it is no longer necessary to restart the machine in order to change regional settings and have the appropriate code page in place.

If this is true, how does one specify in non-interactive dos environment which code page to use prior to the execution of a command?

Avatar of SteveGTR
SteveGTR
Flag of United States of America image

To change the codepage in DOS us chcp:

Displays or sets the active code page number.

CHCP [nnn]

  nnn   Specifies a code page number.

Type CHCP without a parameter to display the active code page number.
Avatar of TyBay
TyBay

ASKER

Then I guess there is nothing different between vista and xp?

Is Vista/CHCP also limited to the number of code pages - e..g some Asian code pages are not available
You know I don't really know.

All I know is that chcp can be used to change the code page in DOS.
ASKER CERTIFIED SOLUTION
Avatar of SteveGTR
SteveGTR
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial