Archive: Is it safe to try to delete "null" registry subkeys?


Is it safe to try to delete "null" registry subkeys?
Hi,

I need to write a utility to clean-up some old left-over Uninstall registry values by using variables imported from an ini file.
Here is my code:

DeleteRegKey HKLM "$0"
DeleteRegKey HKLM "$1"

Where $0=SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyApp
and $1=""

Is it safe to "try" to delete null subkeys under any Windows version?

Thanks
-Carlos


Oh yeah, there is no side-effect.

-Duane