tommy916
16th April 2004 00:57 UTC
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
Joost Verburg
16th April 2004 12:56 UTC
EnumRegKey
deguix
17th April 2004 03:09 UTC
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.
Joost Verburg
17th April 2004 12:05 UTC
If you can attach a generic script that uses a standard registry location I can test it on an old Windows 95 installation.
deguix
17th April 2004 15:19 UTC
Simpler than this is nothing:
OutFile test.exe
Section
EnumRegKey $0 HKLM SOFTWARE\Microsoft\Windows\CurrentVersion 0
DetailPrint $0
SectionEnd
Joost Verburg
17th April 2004 15:53 UTC
Works fine for me on Windows 95.
deguix
17th April 2004 20:08 UTC
OK, thanks Joost for clarifying that.
tommy916
20th April 2004 19:46 UTC
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