read/write Win registry

  • Thread starter Rebhan, Gilbert
  • Start date
R

Rebhan, Gilbert

Hi,

i know there were already questions with this
subject on that board, but i didn't found a useful
snippet.

Running Ruby 1.8.4, Win2000 | Win2003
i want to read and write some registry values.

I know there is Win32::Registry, but i don't know
how to use it.

i.e. i need to read / write key/value pairs under =3D

HKEY_USERS\S-1-5-21-373698554-2142300011-3433917070-7290\Software\Cvsnt\
cvspass

Questions =3D

1. the part with S-1-5- ... changes for every machine, how to get the
right keyname ?

2. how to get all entries under that key in a hashmap ?

3. how do i edit those entries ?


Regards, Gilbert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top