How does one write a registry file?

Oct 9, 1999
15,216
3
81
as above.
I have the following things.. I want to write it as a registry and send it to a friend so he can double click and get working. I am too scared asking him to open rededit to do it himself.

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ICSharing\Mappings\Active]
"DialPad"="0.0.0.0"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ICSharing\Mappings\Installed\DialPad]
"Name"="DialPad"
"Options"=hex:00,00,00,00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ICSharing\Mappings\Installed\DialPad\0000]
"Type"="UDP"
"Port"="51200-51201"
"Translation"="NORMAL"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ICSharing\Mappings\Installed\DialPad\0001]
"Type"="TCP"
"Port"="51210"
"Translation"="NORMAL"

 

Valhalla1

Diamond Member
Oct 13, 1999
8,678
0
76
I think you just copy all that text to a file and name it whatever.REG

have him double click it and it will merge with his registry, bingo
 
Oct 9, 1999
15,216
3
81
I did that .. didnt work.
It gave.. an error like ..
cannot import c:\dialpad\dialpad.reg: the specified file is not a registry script. you can only import registry files
 

Valhalla1

Diamond Member
Oct 13, 1999
8,678
0
76
hrm.. well in win2k when I export a piece of the registry to a file I get this :

_____________________________________________________________________________________________

Windows Registry Editor Version 5.00

[HKEY_USERS\S-1-5-21-1078081533-573735546-725345543-1001\Software\Microsoft\Internet Explorer\Settings]
"Anchor Color Visited"="96,100,32"
"Anchor Color"="0,0,255"
"Background Color"="192,192,192"
"Text Color"="0,0,0"
"Use Anchor Hover Color"="no"
"Anchor Color Hover"="255,0,0"


_____________________________________________________________________________________________


don't know if that text at the top would help

 

GoldenBear

Banned
Mar 2, 2000
6,843
2
0
<< I had to create the registry file, because the other guy is too *ahem* dumb to figure things out. >>

How is one dumb for not being able to work the registry?