[REBOL] [Command] list-reg not sufficient? ...
From: petr:krenzelok:trz:cz at: 18-Aug-2003 14:02
Hi,
I wanted to try Windows registry functions, but I can find the way it
works insufficient ...
eg. - inspired by virus, I wanted to check following section:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
'Run tree node contains directly some info + one subnode. list-reg
function returns only that subnote. That way, we can't build dynamic
system - there is no way of how to obtain listing of items, unless we
know their name:
->> list-reg/hklm "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
== ["OptionalComponents"]
while 'Run node itself contains lot's of stuff my machine runs after
start ...
->> get-reg/hklm "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "ICQ Lite"
== "C:\Program Files\ICQLite\ICQLite.exe -minimize"
... get-reg is fine, but I need to explicitly know what the name (ID) of
item is. .... I don't find it sufficient - list-reg should imo report
also what is directly stored under "Run" node ...
nor does it help to go one level up:
->> get-reg/hklm "SOFTWARE\Microsoft\Windows\CurrentVersion\" "Run"
== none
... sending to feedback ...
-pekr-