How to get list of all keys in a registry folder
Ken Ray
kray at sonsothunder.com
Wed Oct 31 13:48:35 EDT 2007
On Wed, 31 Oct 2007 17:23:52 +0000, Luis wrote:
> Hiya,
>
> Type 'regedit' without the apostrophes into the 'Run' command box.
> From there browse to the
> 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage'
> and do a File/Export.
Actually you can do this from Rev to a text file and then you can read
the text file from Rev, parse the data and delete the text file. Here's
an example (off the top of my head):
on mouseUp
put "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\" & \
"Control\Nls\CodePage" into tKey
put "regedit.exe /c c:\temp.txt " & tKey into tCmd
set the hideConsoleWindows to true
get shell(tCmd)
put url ("file:C:/temp.txt") into tData
delete file "C:/temp.txt"
-- now parse the data and extract your list...
end mouseUp
HTH,
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list