Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I create a script to change the Reginal Settings options?

Posted on 2004-10-11
3
Medium Priority
?
166 Views
Last Modified: 2012-05-05
I need to create a script to change the reginonal settings option on the time to show default values of AM and PM symbols to nothing?

Can anyone shed dome light please?

Thanks
0
Comment
Question by:mo9162
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Longbow earned 2000 total points
ID: 12275357
AM & PM for Default users - save the 6 next lines in a AMPMDef.reg :
REGEDIT4

[HKEY_USERS\.DEFAULT\Control Panel\International]
"s1159"=""
"s2359"=""

AM & PM for Current user - save the 6 next lines in AMPMCur.reg :
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\International]
"s1159"=""
"s2359"=""

Run the next command to apply the new settings :
regedit /s AMPMDef.reg
or
regedit /s AMPMCur.reg

Maybe you need to reboot.
I can't test more now. Im not on my own computer.

You can open Control Panel / Regional Settings / Time
and check after applying the .reg file. The settings will change.
0
 

Author Comment

by:mo9162
ID: 12276312
Thanks worked first time and no reboot needed. Brillaint Work!
0
 
LVL 10

Expert Comment

by:Longbow
ID: 12277417
You are right.
I only had Win NT4 to do the job.
;-)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question