[Wine] Re: move temp files directory?

jorl17 wineforum-user at winehq.org
Sun Jan 22 22:24:16 CST 2012


Martin Gregorie wrote:
> 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


He meant to change the directory that wine uses for temporary files, not the prefix, I think.







More information about the wine-users mailing list