On Fri, Aug 3, 2012 at 10:39 AM, Albert-Jan Roskam <fomcl at yahoo.com> wrote: > > import os > # 1 using this from Python won't work, but double-clicking the file works. > os.system(r"regedit /s C:\Users\Desktop\set_temp.reg") Do you have a user named Desktop, or was this supposed to be "C:\Users\USER_NAME\Desktop\set_temp.reg"?