Solved

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

Posted on 2004-10-11
3
155 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 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now