I have a simple text file that I need to read and then write each line to the same key in the registry.
Example:
Text file name version.txt with the following lines
HP
01/01/2008
4

and would like to have end up with a registry key like:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACH INE\SOFTWARE\Cu stom\Image]
"Description"=" HP"
"InstallDat e"=...