Mike Driscoll wrote:
>
> We're doing what amounts to a registry session audit here at work, so
> I need to walk a specific set of subfolders in our registry and get
> the contents thereof. The subfolders will vary from user to user. I
> found Tim Golden's excellent registry walking script on his website here:
>
> http://timgolden.me.uk/python-on-windows/programming-areas/registry/walk-the-registry.html
>
>
> My problem is that I need to output the data into *.reg files. Is
> there a builtin way to do that with _winreg or PyWin32 or do I just
> need to roll my own?

I'm not answering the question you asked, but are you aware of the very
handy "reg" tool included with XP?  "reg export" can export a full key
in a format that is compatible with regedit.
    reg export HKLM\system\CurrentControlSet\Services\vgasave  xxx.reg

-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to