Probably an issue with the .reg file format not being
DOS ascii vs. utf-8 or
unix format. Open it with a hex-editor BEFORE
appending it & you'll likely seem
some extra bytes or find the file is in unicode
format.
High time to learn REAL scripting using WSH & VBS not
batch files to manipulate
the registry. If fact even .reg is a bad idea vs.
learning how to use .inf's.
Alex wrote:
> Example 4:
>
> Appending to an existing registry file with several
entries called test.reg.
>
> echo "Client_Name=%computername%" >> test.reg
>
> test.reg shows (at the end of file) a bunch of
garbled characters.
>
> What's going on?
>
> -alex
>
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ