Reg: Type of empty default values
Posted: 09 Jan 2013, 12:50
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.
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.