http://bugs.winehq.org/show_bug.cgi?id=1983
Summary: Allow you to carry over the PATH environment variable from shell Product: Wine Version: 20031212 Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: netdemonz@yahoo.com
There should be a command-line option for Wine to allow you to preserve the existing path and have it appended to the one specified in wine.conf or ~/.wine/config
wine --preserve-environment or wine -P
An example of when this is useful is when you are running a compile process and it might add things to the PATH
for now, you'd have to do a workaround like this: export TMPPATH=`converttowin32path $PATH`; wine start cl.bat; where cl.bat is a wrapper that appends TEMPPATH to PATH then calls cl.exe