Re: wine path error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
         myapp.exe Y:\MyData\data.file

Linux:  cd $HOME/directory/mydata
	myapp data.file 


Martin





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux