[Migrated content. Thread originally posted on 31 March 2004]
How do you retrieve a value from the Registry? I have tried something like the following example, which tries to retrieve the path of Iexplore.exe, but it just returns a status code 2.
CALL "REG_QUERY_VALUE"
USING HKEY_LOCAL_MACHINE,
WS-APP-PATH,
WS-RETURN-SIZE,
"Software\\Microsoft\\Windows\\CurrentVersion\\App Path
- "s\\IEXPORE.EXE"
WS-KEY
GIVING WS-REG-STATUS
END-CALL.



