How goes it mcneil,
tried a few different ways of using your lines to no avail
i'll show you what I get when I reg query from the command prompt and one of the ways I tried and hopefully you can tell me what I am doing wrong
from the command prompt
Microsoft Windows [Version 10.0.17134.285]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>REG QUERY HKLM\Software\Dungeons /v data /t REG_BINARY
HKEY_LOCAL_MACHINE\Software\Dungeons
data REG_BINARY FE340EAD
End of search: 1 match(es) found.
C:\WINDOWS\system32>
now it is that fe340ead that I want to be able to input into my program as a variable and work with it from there
one of the ways I tried
DIM dung AS STRING * 50
SHELL "REGEDIT /E \temp.REG " + CHR$(34) + "HKLM\Software\Dungeons /v data /t REG_BINARY" + CHR$(34)
OPEN "temp.reg" FOR INPUT AS #1
DO
LINE INPUT #1, dung
LOOP UNTIL EOF(1)
CLOSE #1