[Wine] WINEPATH disappeared?

Daniel Leaberry leaberry at gmail.com
Wed Aug 2 19:00:53 CDT 2006

About 5 months ago we looked at porting some of our custom inhouse
applications to wine. We make heavy use of the PATH variable to set which
dll's get used by our apps. I just installed the wine 0.9.16 redhat rpm and
WINEPATH doesn't seem to work anymore. The only documentation I could find
on it was this snippet from Dec 2002.

RCS file: /home/wine/wine/documentation/running.sgml,v
retrieving revision 1.13
diff -u -r1.13 running.sgml
--- documentation/running.sgml	19 Oct 2002 01:00:04 -0000	1.13
+++ documentation/running.sgml	15 Dec 2002 13:16:29 -0000
@@ -296,6 +296,17 @@
 	place the setting into /etc/profile, or also ~/.bashrc in the case of
+      <para>
+        Note however that there is an exception to the rule:
+	If you want to change the PATH environment variable, then of
+	course you can't modify it that way, since this will alter the
+	Unix PATH environment setting. Instead, you should set the
+	WINEPATH environment variable. An alternative way to
+	indicate the content of the DOS PATH environment variable would
+	be to change the "path" setting in the wine config file's <link
+	linkend="config_wine">[wine]</link> section.

In Centos 4 we set WINEPATH="/path/to/dll_dir_1;/path/to/d11_dir_2;"
but WINEPATH doesn't appear to be passed through. I've tried using
windows c:\ format but my dll's in these paths don't load. Has this
functionality disappeared? If so is there another way to dynamically
set the path (no config files.)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20060802/449f8bb7/attachment.html

More information about the wine-users mailing list