How to change regional settings (date format) from command line ?

  • Thread starter Thread starter flahmeshess
  • Start date Start date
F

flahmeshess

I searched a little on this forum and I found "control intl.cpl" but
it just start the panel. I want something that does not require human
intervention, like some parameters that specify the format and it
automatically does the job ? Is this possible ? And how ? Thanks
very much !
 
A "kludge" way of doing it, no doubt, but one way that I can think of is
by importing the settings to the registy.

It's a "per User" setting so it's held in the registry's HKCU key.

Look at: HKEY_CURRENT_USER\Control Panel\International

You can use Regedit.exe and a .reg file to import the setting to the
key. (regedit /s x:"\path to file\regfilename.reg") You can also push
the .reg file by logon script or GPO.

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/34646.mspx?mfr=true

John
 
I'm just concern as my company is going to remove our administrator
rights. Would this registry method still work ?
Also, is there a way to use the control panel approach ? Seems quite
useless to me if it just call up the panel. Don't you think so ?

Thanks !
 
I know of no way to do this at the command prompt and I know of no
Microsoft tool or built in utility that allows you to do this direcly at
the command prompt. Perhaps there are third party helpers that could be
used to do it but I don't know any at this time. This is a user
preference, you should be able to change it via the Control Panel
Regional Options applet even if you do not have Administrator rights.

John
 
Thanks very much for your help !

I know of no way to do this at the command prompt and I know of no
Microsoft tool or built in utility that allows you to do this direcly at
the command prompt. Perhaps there are third party helpers that could be
used to do it but I don't know any at this time. This is a user
preference, you should be able to change it via the Control Panel
Regional Options applet even if you do not have Administrator rights.

John
 
Back
Top