Most viewed recipes tagged "regdeletetree"http://code.activestate.com/recipes/tags/regdeletetree/views/2009-07-28T03:23:29-07:00ActiveState Code RecipesRecursively querying for registry subkeys (Python) 2009-07-28T03:23:29-07:00Heinz Hermannhttp://code.activestate.com/recipes/users/4171265/http://code.activestate.com/recipes/576860-recursively-querying-for-registry-subkeys/ <p style="color: grey"> Python recipe 576860 by <a href="/recipes/users/4171265/">Heinz Hermann</a> (<a href="/recipes/tags/regdeletetree/">regdeletetree</a>, <a href="/recipes/tags/registry/">registry</a>, <a href="/recipes/tags/substitute/">substitute</a>, <a href="/recipes/tags/win32api/">win32api</a>). Revision 2. </p> <p>Because the Windows XP API does not support the RegDeleteTree function, the programmer has to query for subkeys of a registry key recursively, before he can delete it. This functions returns all subkeys of a registry key in deleteable order, which means the deepest subkey is the first in the list. </p>