Archive: how to retreive all folder in registry?


how to retreive all folder in registry?
I'm trying to add some string values into the registry.


let say there are 5 folder with randomly folder name look like {C83B9E7F-1EAB-4E66-B304-25331173EB99} in the directory.

How can i get all of these 5 randomly folder names so that I can add some string value to each of 5 folders.

Thank you


EnumRegKey


Just a question about "EnumRegKey" command. When I had a Win 95 without IE 4.0 it didn't work, everytime I used it is like calling no command (before I had this new computer in January). It has a lot of problems with the Windows, but I want to know if that works with that conditions. Someone could test for me.


If you can attach a generic script that uses a standard registry location I can test it on an old Windows 95 installation.


Simpler than this is nothing:

OutFile test.exe

Section
EnumRegKey $0 HKLM SOFTWARE\Microsoft\Windows\CurrentVersion 0
DetailPrint $0
SectionEnd

Works fine for me on Windows 95.


OK, thanks Joost for clarifying that.


Originally posted by deguix
Simpler than this is nothing:

OutFile test.exe

Section
EnumRegKey $0 HKLM SOFTWARE\Microsoft\Windows\CurrentVersion 0
DetailPrint $0
SectionEnd
this code just print first folder name.
How do you print all the folders name?

Nevermind, i just figure out using loop