CONTROL.EXE TIMEDATE.CPL,,/Z Eastern Standard TimeThese are a little longer but they do the same thing.
CONTROL.EXE TIMEDATE.CPL,,/Z Central Standard Time
CONTROL.EXE TIMEDATE.CPL,,/Z Mountain Standard Time
CONTROL.EXE TIMEDATE.CPL,,/Z Pacific Standard Time
RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z Eastern Standard TimeSee also Set Time Zone From Command Line in Windows 7 and Windows 2008
RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z Central Standard Time
RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z Mountain Standard Time
RunDLL32.exe shell32.dll,Control_RunDLL timedate.cpl,,/Z Pacific Standard Time
Keywords:
change time zone from command line windows xp
windows 2003 change timezone
command to get time zone in win xp
CONTROL.EXE TIMEDATE.CPL,,/Z W. Europe Standard Time
ReplyDeleteMy tests showed that this does not work if you use the names that are shown in the XP timezone dialog (GMT+0100) Windhuk). It seems that those are only display names.
When I used the names for the subkeys of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
it worked well. Those names are all English and it seems that XP needs that.