Jump to content

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


Recommended Posts

Guest flahmeshess
Posted

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 !

  • Replies 5
  • Created
  • Last Reply
Guest John John
Posted

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

 

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

 

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

 

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 !

>

Guest flahmeshess
Posted

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

 

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/prodtechnol/windows2000serv/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 !

Guest John John
Posted

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

 

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

 

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/prodtechnol/windows2000serv/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 !

>

>

>

Guest flahmeshess
Posted

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

 

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/prodtechnol/windows2000serv/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 !

Guest John John
Posted

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

 

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

 

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/prodtechnol/windows2000serv/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 !

>

>

>


×
×
  • Create New...