[Wine] Re: "cmd.exe /c echo '%ProgramFiles%' returned empty string
wineforum-user at winehq.org
Fri Nov 11 07:33:08 CST 2011
Martin Gregorie wrote:
> On Thu, 2011-11-10 at 22:35 -0600, dimesio wrote:
> > dE_logics wrote:
> > > Nothing will happen (and nothing happened), winetricks is only available in the current directory, so it says command not found.
> > >
> > >
> > How did you get winetricks? I've never used ./ in front of it, and it executes just fine for me.
> Some distros (the RedHat ones and probably others) don't include '.' or
> $HOME in $PATH by default. The first thing I do when I set up a new
> login users is to make sure '.', $HOME and $HOME/bin are added to $PATH,
> preferably at the right end. Its such an automatic action that its easy
> to forget you did it years ago.
> To dE_logics:
> It sounds like your $HOME directory isn't in your search path. Post the
> output from this:
> echo $PATH
> So we can see what your search path looks like.
Having '.' and $HOME in $PATH can lead to subtle failures,
if you create a file that has the same name as an existing command.
Simple example: the updatedb command from mlocate
More information about the wine-users