Solved

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

Posted on 2004-10-11
3
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Longbow earned 500 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

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…
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

632 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