http://bugs.winehq.org/show_bug.cgi?id=16246
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2008-11-28 15:41:35 --- (In reply to comment #3)
(In reply to comment #1)
WINEPATH is not used anywhere within Wine. Where did you found that Wine uses WINEPATH.
If you want to alter PATH withing Wine you will have to do it the same way as windows - via registry.
Closing invalid
Yes it is, at least it was in older versions of wine. For example, see http://source.winehq.org/search?v=wine20040309;string=WINEPATH
That was not a stable release.
I don't appreciate it at all that this bug has been marked invalid almost instantly. I would like to have a discussion, because I think this is a necessary feature. The alternative way to set PATH using regedit is not acceptable in all situations. Especially not when you have to run Windows programs from bash or python scripts and don't want to alter the PATH variable permanently.
If you don't want to set it globally then instead of launching whatever program you are running under Wine directly, modify the PATH environment variable as part of a batch file which then runs your program.