Newbie Windows Registry Question

Stacy stacycollings at
Wed Jul 14 00:10:35 CEST 2004

Thanks Duncan!

That works perfectly!  I told you I was a newbie :)  Now I will be
able to finish up my little XP migration program and try it out next

Thanks again,


Duncan Booth <me at> wrote in message news:<Xns9525AEA1D44C7duncanrcpcouk at>...
> stacycollings at (Stacy) wrote in 
> news:c7c55926.0407120913.6292e61c at
> > I'm trying to automate some migration tasks on XP and one of the steps
> > involved is to export a reg key to install on a new machine. 
>  <snip>
> > 
> > Any idea what I am doing wrong?
> No, but if you simply want to get the job done, try this:
> os.system(r'reg export HKLM\Software\Adobe c:\python23\samplekey.reg')

More information about the Python-list mailing list