Charles Dye
Super Moderator
- May
- 5,068
- 133
Staff member
Does anybody have a clever way to create an empty registry entry of type REG_SZ using 4NT/TCC? @REGSET deletes any matching entry if it's passed a blank value (as documented.) I thought it would be possible to pass a value of ``, but that creates a value with two backticks (why?) Variables or functions which evaluate to an empty string also delete the registry entry. A string consisting of all spaces, e.g. %@CHAR[32], also deletes the entry.
Of course I could call REGEDIT.EXE or REG.EXE, but that's inelegant....
Of course I could call REGEDIT.EXE or REG.EXE, but that's inelegant....