How to back up Registry file programmatically

Hello All.

I just tried to back up the registry file with administrator privilege.
But I failed.

How can I copy the registry file to another?
Is some trick needed for that ?

Thank you


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try,

RegLoadKey and RegSaveKey.
Also, examine rdisk.exe (Windows NT, not 2K), which does it.

Regards, Dejan.

xxxxx@hanmail.net wrote:

Hello All.

I just tried to back up the registry file with administrator privilege.
But I failed.

How can I copy the registry file to another?
Is some trick needed for that ?

Thank you


You are currently subscribed to ntfsd as: xxxxx@ptt.yu
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Regards, Dejan M. CEO Alfa Co. www.alfaunits.co.yu and www.register.co.yu
E-mail : xxxxx@ptt.yu, xxxxx@register.co.yu and xxxxx@alfaunits.co.yu
ICQ# : 56570367
Professional file&system related components and libraries for Win32
developers.
Alfa File Monitor - #1 file monitoring system for Win32 developers.
Alfa File Protector - #1 file protection and hiding system for Win32
developers.
Alfa Units - #1 file and system handling units for Delphi.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com