Answer the question
In order to leave comments, you need to log in
How to run an .exe file from a different wineprefix?
I installed the game in a separate prefix with separate libraries, but when I run the executable, it starts in the usual prefix without libraries. How to make it run in a different prefix?
Answer the question
In order to leave comments, you need to log in
WINEPREFIX=/other/wineprefix wine ./file.exe
With this syntax, the overridden WINEPREFIX variable will only apply to this one call to wine. To act within the current session, you need to do
export WINEPREFIX=/other/wineprefix
If you need it permanently, add this to .bash_profile
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question