Jul 21, 2009 · To remove and delete a registry key (entire registry tree branch and its sub-keys) with a .reg file, just add a hyphen (- or also known as minus) in front of the registry path (registry tree branch name) in the .reg file. For example, a typical .reg file has the following syntax: RegistryEditorVersion. "/>
sg
jy
ke