Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Refreshing the Windows Registry

by MADuran (Beadle)
on Jan 15, 2004 at 16:35 UTC ( #321602=note: print w/ replies, xml ) Need Help??

in reply to Refreshing the Windows Registry

If I am reading correctly you want to use your new registry settings with out a reboot.

IF I remember correctly you need to send a  WM_SETTINGCHANGE message to the windows OS. The WIN32::OLE::NLS module has SendSettingChange() function that does just that. This is untested and over a year old memory.

update: I miss read the question. Still you will need to send the WM_SETTINGCHANGE message for open windows (the Command/CMD prompt) to know about your change.

Who is in need of a spiffy sig

Comment on Re: Refreshing the Windows Registry
Select or Download Code
Replies are listed 'Best First'.
Re: Re: Refreshing the Windows Registry
by Anonymous Monk on Jan 15, 2004 at 16:49 UTC
    That seems to work but after calling:
    The rest of my script hangs

    Any thoughts?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://321602]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2015-11-29 10:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls