Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: International Date Settings
I dont want to change it I just want to report and stop the program from running. Because funny results occur if I let my program run in US date and Not U.K.English Date.
You could maybe access this information from the registry, using ....
locale = RegQueryValue(@REGCURRENT,"Control Panel\International[Locale]") Message("Locale",locale) if Locale !=00000809 ;English (British) message("Wrong International settings", "This script will exit") exit endifHeres a list of locales and their cooresponding hex value...
Country Hex value -------------------------------------------- Afrikaans 00000436 Basque 0000042D Catalan 00000403 Danish 00000406 Dutch (Belgian) 00000813 Dutch (Standard) 00000413 English (Australian) 00000C09 English (British) 00000809 English (Canadian) 00001009 English (Ireland) 00001809 English (New Zealand) 00001409 English (South Africa) 00001C09 English (United States) 00000409 Finnish 0000040B French (Belgian) 0000080C French (Canadian) 00000C0C French (Luxembourg) 0000140C French (Standard) 0000040C French (Swiss) 0000100C German (Austrian) 00000C07 German (Liechtenstein) 00001407 German (Luxembourg) 00001007 German (Standard) 00000407 German (Swiss) 00000807 Icelandic 0000040F Indonesian 00000421 Italian (Standard) 00000410 Italian (Swiss) 00000810 Norwegian (Bokmal) 00000414 Norwegian (Nynorsk) 00000814 Portuguese (Brazilian) 00000416 Portuguese (Standard) 00000816 Spanish (Costa Rica) 0000140A Spanish (Dominican Republic)00001C0A Spanish (Guatemala) 0000100A Spanish (Mexican) 0000080A Spanish (Modern Sort) 00000C0A Spanish (Panama) 0000180A Spanish (Traditional Sort) 0000040A Spanish (Venezuela) 0000340A Spanish (Venezuela) 0000380A Spanish (Venezuela) 00002009 Spanish (Venezuela) 00002409 Spanish (Venezuela) 00003C0A Spanish (Venezuela) 0000280A Spanish (Venezuela) 00002C0A Spanish (Venezuela) 0000300A Spanish (Venezuela) 0000240A Spanish (Venezuela) 0000200A Swedish 0000041D
Article ID: W14604
Filename: International Date Settings.txt
File Created: 2001:01:15:10:54:48
Last Updated: 2001:01:15:10:54:48