PC Review


Reply
Thread Tools Rate Thread

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

 
 
flahmeshess
Guest
Posts: n/a
 
      12th Oct 2007
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 !

 
Reply With Quote
 
 
 
 
John John
Guest
Posts: n/a
 
      12th Oct 2007
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/pro....mspx?mfr=true

John

flahmeshess wrote:
> 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 !
>


 
Reply With Quote
 
flahmeshess
Guest
Posts: n/a
 
      15th Oct 2007
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 !


On Oct 12, 8:10 pm, John John <audetw...@nbnet.nb.ca> wrote:
> 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/pro...0serv/reskit/r...
>
> John
>
> flahmeshess wrote:
> > 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 !



 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      15th Oct 2007
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

flahmeshess wrote:

> 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 !
>
>
> On Oct 12, 8:10 pm, John John <audetw...@nbnet.nb.ca> wrote:
>
>>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/pro...0serv/reskit/r...
>>
>>John
>>
>>flahmeshess wrote:
>>
>>>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 !

>
>
>


 
Reply With Quote
 
flahmeshess
Guest
Posts: n/a
 
      16th Oct 2007
Thanks very much for your help !

On Oct 16, 12:56 am, John John <audetw...@nbnet.nb.ca> wrote:
> 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
>
> flahmeshess wrote:
> > 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 !

>
> > On Oct 12, 8:10 pm, John John <audetw...@nbnet.nb.ca> wrote:

>
> >>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/pro...0serv/reskit/r...

>
> >>John

>
> >>flahmeshess wrote:

>
> >>>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 !



 
Reply With Quote
 
John John
Guest
Posts: n/a
 
      16th Oct 2007
You're welcome.

John

flahmeshess wrote:

> Thanks very much for your help !
>
> On Oct 16, 12:56 am, John John <audetw...@nbnet.nb.ca> wrote:
>
>>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
>>
>>flahmeshess wrote:
>>
>>>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 !

>>
>>>On Oct 12, 8:10 pm, John John <audetw...@nbnet.nb.ca> wrote:

>>
>>>>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/pro...0serv/reskit/r...

>>
>>>>John

>>
>>>>flahmeshess wrote:

>>
>>>>>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 !

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line command for Start>Run and Regional Settings Richhall Windows XP General 2 1st Sep 2008 03:05 PM
Date Format Changes from Regional Settings Naeem Microsoft Dot NET Framework Forms 2 5th Dec 2005 12:04 PM
Change in Short Date format under Hebrew Regional Settings Laurence Neville Microsoft Windows 2000 1 7th Jan 2005 02:29 PM
Change in Short Date format under Hebrew Regional Settings Laurence Neville Microsoft Windows 2000 Applications 1 7th Jan 2005 02:29 PM
Is there command line options to set Regional Settings Terry Windows XP General 3 17th Nov 2004 10:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:57 PM.