(view source code of country3.bat as plain text)
:: Country.bat, Version 3.01 for Windows NT 4
:: Displays several country related settings.
:: This version uses native NT 4 commands only.
:: Written by Rob van der Woude
:: Keyboard trick by Tom Lavedas
:: Export International settings from registry to a temporary file
START /W REGEDIT /E %Temp%.\international.reg "HKEY_CURRENT_USER\Control Panel\International"
:: Read several lines from the temporary files
:: and store these settings as environment variables
:: Remove temporary file
:: The KEYB trick was posted to the alt.msdos.batch.nt newsgroup by Tom Lavedas
:: Check code page used