[PATCH 1/2] winepath: add option to output paths in the current Windows ANSI code page

Alexandre Julliard julliard at winehq.org
Mon Jul 16 13:29:20 CDT 2007

"Lei Zhang" <thestig at google.com> writes:

> I have a shell script that calls winepath -w to get the windows path
> from a unix path. Then I want to stick the value into the registry by
> a search and replace in ${WINEPREFIX}/*.reg.

That's a bad idea. You should use regedit, which will avoid potential
conflicts with a running session, and will take care of the encoding
(the Ansi codepage is *not* the right encoding for reg files).

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list