Friday 3 June 2011

Setting TimeZone value from Command Prompt

If you'd like to change timezone information by using command prompt you can use control.exe to do that.

First of all you have to find out Time Zone name you wish to set, you can use the list in

HKLMSoftwareMicrosoftWindows NTCurrentVersionTime Zones

For example :control TIMEDATE.cpl,,/Z Romance Standard Time
sets Time Zone value to (GMT+01:00) Brussels, Copenhagen, Madrid, Paris

or

you can write Time Zone information that you can see in Date and Time Properties>Time Zone Window

TimeZone

For example :control TIMEDATE.cpl,,/Z (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
( Setting TimeZone value from Command Prompt )

1 comment: