[Wine] wine path error?
martin at gregorie.org
Sat Sep 10 05:38:52 CDT 2011
On Fri, 2011-09-09 at 23:54 -0500, LPMusicLJ wrote:
> > my normal usage is:
> > wine "c:\programme\rockstar games\gta san andreas\gta_sa.exe"
> I think you can drop the quotation marks ("), and you use escape
> characters for the spaces. So it would look something like
That is true, but nor relevant for the OP.
To the OP: there is a difference between Windows and Linux (i.e.
UNIX-style) operating systems in where programs expect to be run.
In Linux we expect to put executables in one or two libraries
(/bin, /usr/bin, /usr/local/bin and sometimes $HOME/bin) and to run them
in the directory (the pwd, present working directory) that contains the
data files the program will use. Similarly, the program expects to find
config files in /etc or /usr/local/etc or the pwd.
However, Windows is different: each app is usually installed in a
separate directory along with its config files, help text, etc. The only
common library is c:\winnt\system where the support DLLs written by
Microsoft are found. The app is written to be run in its installation
directory and to look elsewhere for data files.
This is why you get the difference in the way you should run apps:
Windows: cd X:\directory\where\app\was\installed
Linux: cd $HOME/directory/mydata
More information about the wine-users