[python-win32] Walking the registry and creating reg files

Tim Roberts timr at probo.com
Fri Dec 5 02:24:12 CET 2008


Alec Bennett wrote:
> Reg files are just text files, so why not just create the text files yourself?
>
> Here's a reg file for example:
>
> REGEDIT4
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Gizmoware\Whatever]
>
> "Name"="Yada"
> "Number"="something"
>   

Because Mike said he needed to extract sections from the existing
registry for audit purposes.  It's up to him to decide whether that's
easier by writing Python or by using "reg export".

Is "something" a number?  ;)

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list