Is it possible to return the “Name”(s) of the “values” under a particluar registry key? For example - I have key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run”. Under this key, there are a list of string values that consist of 3 pieces of information - Name, Type and Data. I can successfully reference the “Data” piece of all of the entries with:
Q: values of key “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run” of registry
The answers are the “Data” values associated with the “Names” of the values. What I cannot seem to reference are the list of “Names” (or “Types”) for these values. For example, the Name (and Type) associated with the first item in the answers list above is “IMSS”. How can I reference the “Name” (and “Type”) column of the registry??
Q: if exists (values of key “HKEY_LOCAL_MACHINE\SYSTEM\Setup” of registry as string) whose (it = “”) then true else false
A: True
T: 0.279 ms
I get an error on this:
Q: if exists (values of key “HKEY_LOCAL_MACHINE\SYSTEM\Setup” of registry as string) whose (name of it = “OsLoaderPath”) then true else false
E: The operator “name” is not defined.
What I would ultimately like to do is something like this:
Q: if exists (values of key “HKEY_LOCAL_MACHINE\SYSTEM\Setup” of registry as string) whose (name of it = “OsLoaderPath” and it = “” and type of it = “REG_SZ”) then true else false
E: The operator “name” is not defined.
Any help with syntax would be greatly appreciated.