Usually you do it like this in a batch file:
REGEDIT.EXE /S myregfile.REG
>Cool, thanks. Related question... I'm going to be using a batch file for some setup stuff, can I put the REG code in it, or do I need to call the REG file from the BAT file?
>
>>Yes and it should be that way for each subdirectory as well: "c:\\directory\\subdirectory" use a double backslash for all path separations.
>>
>>
>>
>>>>>Why does this REG file need the double slashes?
>>>>>
>>>>>
>>>>>REGEDIT4
>>>>>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMPS\Parameters]
>>>>>"AppDirectory"="C:\\FMSRun"
>>>>>
>>>>
>>>>It is a standard convention to use the "\" prefix for several special characters.
>>>
>>>"Convention," but is it required?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"