Using queryRegistry with entries with "\"
Posted: Thu Oct 14, 2010 4:28 pm
I took a look at this post, but I'm a complete newbie when it comes to the Windows registry, so it went completely over my head.
I am trying to access the data located in the following registry entry:
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM\Device\VCP0
You can see a screenshot of my RegEdit here.
However, when I use the following command:
I just get an empty string. However, you can see in the screenshot that there is definitely a value in there.
Any ideas on what I'm doing wrong? I'm guessing the issue is because my key includes "\" in the name, but I'm not sure what to do instead. I tried using the 'queryRegistry(keyPath,typeVariable)' form as well, but my typeVariable just got populated by garbage data (ƒìS‹\$ UV‹s35 rb).
I am trying to access the data located in the following registry entry:
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM\Device\VCP0
You can see a screenshot of my RegEdit here.
However, when I use the following command:
Code: Select all
put queryregistry("HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM\Device\VCP0")
Any ideas on what I'm doing wrong? I'm guessing the issue is because my key includes "\" in the name, but I'm not sure what to do instead. I tried using the 'queryRegistry(keyPath,typeVariable)' form as well, but my typeVariable just got populated by garbage data (ƒìS‹\$ UV‹s35 rb).