Newbie Windows Registry Question

Duncan Booth me at privacy.net
Tue Jul 13 12:10:08 EDT 2004


stacycollings at yahoo.com (Stacy) wrote in 
news:c7c55926.0407120913.6292e61c at posting.google.com:

> 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