On Wed, 25 Dec 2019 at 23:10, ToddAndMargo via perl6-users <
[email protected]> wrote:

> Hi All,
>
> Windows
>
>
> https://docs.microsoft.com/en-us/windows/win32/sysinfo/retrieving-data-from-the-registry
>
> How do I use this to read retrieve a value of a registry key?
>
> Many thanks,
> -T
>

Hi Todd,

Two things comes to mind for solving this. First, you use the Windows
Commandline command REG together with "run". See REG /? for more
information.
Or second, use NativeCall to use the Windows API calls similar to your
MessageBox module.
Your link shows the needed API calls.

BTW, hat would be also a great module for pushing to
https://modules.raku.org/.

Greetings,
Wolf

Reply via email to