Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Back up the Registry

Keywords: 	  registry backup

Question:

Do you have any suggestions on how to backup the registry?

Answer:

Use regedit to do it. Use the following just to backup the specific node "My Software Corporation":
	runreg = runwait('regedit.exe', '/s /e "%path%\bak.reg" "HKEY_LOCAL_MACHINE\SOFTWARE\MY Software Corporation')
To put it back:
	RunWait("regedit.exe","/s /i %path%\bak.reg")

Article ID:   W13711
Filename:   Backing up the Registry.txt