[Wine] How to use the wineprefix with another wine-path

James McKenzie jjmckenzie51 at earthlink.net
Sun Aug 15 11:18:55 CDT 2010

abb4 wrote:
> Nobody? [Crying or Very sad] 
> It works with the default wine bottle
> code:
> [/opt/bordeaux/bin/wine  'C:\Program Files\winamp\winamp.exe']
> This also works
> code:
> [env WINEPREFIX=~/.wine-winamp wine 'C:\Program Files\winamp\winamp.exe']
> How do I combine them in one command?
This looks like a generic Wine question, as Wine 'bottles' can be put 

You can call the wine program from anywhere (the default prefix is /usr 
but you can set it to be /somewhere/on/mars if you wish.)

Command line:

env WINEPREFIX=$HOME/.wine-amp; cd $HOME/.wine-amp/drive_c/Program\ 
Files/winamp; /opt/bordeaux/bin/wine winamp.exe

Does it all on one line.  The semi-colons separate individual commands 
(a book on shell programming is a good thing to own.)

James McKenzie

More information about the wine-users mailing list