Start

Josiah Carlson jcarlson at nospam.uci.edu
Mon Mar 8 23:47:03 EST 2004


glaine wrote:

> Start 
> Hello
> I'm new in python. I try to make a script like
> a sub routine which save the win registry each
> morning after the win98's running. I have a lot of
> problems to concretize my idea about the moment
> when my script start. How to do to run automatically 
> my script each morning after the win98's running
> I will accept any suggestions or ideas. I found 
> some elements with win32events and handle, but I don't
> understand very well what handle means in python. 
> Is there anybody to explain
> me ? Thank all for your help.
> Save Registry.py
> import _ winreg
> t=file('c:\\windows\\bureau\\toto.txt','w')
> p=_winreg.SaveKey(Keys x, Keys y,'t')
> Guillaume

Just use the command:
regedit /E c:\windows\bureau\toto.txt

Given a few short moments, you should have a satisfactory backup of your 
registry.

  - Josiah



More information about the Python-list mailing list