[Wine] move temp files directory?

Martin Gregorie martin at gregorie.org
Sun Jan 22 17:45:55 CST 2012


On Sun, 2012-01-22 at 15:35 -0600, tigerdog wrote:
> I would like to point Wine at my Linux temp directory instead
> of /home/username/.wine/drive_c/users/username/Temp.  Is there a way
> to have the Wine environment variable specify a different location?
> 
The default is: WINEPREFIX="$HOME/.wine"
You can change WINEPREFIX to anything you like:

export WINEPREFIX="$HOME/.wine_for_myapp"

works and so should: export WINEPREFIX="/path/to/wherever/I/want"
but an easier way to handle this is to use a wrapper script, e.g.

===============================================================
#!/bin/bash
export WINEPREFIX=/where/your/app/is"
cd $WINEPREFIX
wine myapp.exe
==============================================================


Martin





More information about the wine-users mailing list