[Wine] "cmd.exe /c echo '%ProgramFiles%' returned empty string

Martin Gregorie martin at gregorie.org
Fri Nov 11 05:48:04 CST 2011


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:

<code>
echo $PATH
</code>

So we can see what your search path looks like.


Martin





More information about the wine-users mailing list