I just noted a discrepancy between Salamander's registry plugin and reg.exe/regedit.exe. I don't know if it matters somewhere or whether one or the other is incorrect or the issue is just a convention.
A non-existent default value in a registry key is shown as type NONE in Salamander but as type REG_SZ in regedit and reg.
With option /z reg shows the type as REG_SZ (1) whereas type REG_NONE was shown as REG_NONE (0).
On the other hand, reg shows an empty string as default value as (in German)
(Standard) REG_SZ (1) (Wert nicht festgelegt)
which is clearly wrong since the value is not unset (Wert nicht festgelet = no value set) but set to an empty string. Regedit is correct on this.
Reg: Type of empty default values
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Reg: Type of empty default values
Empty (default) value is just virtual item. It is displayed in listing, but is not returned by Registry enumeration API. The type of such item is not defined and we used REG_NONE instead of MS Regedit REG_SZ.