WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Registry
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to Make a Registry Key Dump to a Text File

Keywords: 	export .reg reg file

Question:

How do I make a registry key dump to a text file?

Answer:

The syntax that will do this is:
RegKey='HKEY_CURRENT_USER\Control Panel\Colors'
textfile="c:\windows\desktop\Regedit.reg"
RunWait("Regedit.exe", StrCat('/e "', textfile,'" "', RegKey, '"'))
Note: Leaving the regkey variable empty will export the entire registry.
Article ID:   W14288
Filename:   How to Make Registry Key Dump to a Text File.txt
File Created: 2006:04:05:07:49:42
Last Updated: 2006:04:05:07:49:42