The forum

wine cmd.exe /c echo '%ProgramFiles%' returned empty string

Author Replies
giffmemana Tuesday 29 September 2015 at 19:16
giffmemanaAnonymous

 

I am using Playonlinux and im trying to use winetricks to install a dll in one of my POL prefixes. I do:

WINEPREFIX=/home/user/.PlayOnLinux/wineprefix/giffmegames/ winetricks

and get

wine cmd.exe /c echo '%ProgramFiles%' returned empty string

How do I fix this ?

I tried reading about it online nothing I did helped. I am also worried I could have messed my permissions up (by watching the tutorials) as I am not an experienced user. Any way to check if they are okay ?

Edited by giffmemana

petch Wednesday 30 September 2015 at 0:16
petch

Hi,

To use a Wine prefix managed by PlayOnLinux/PlayOnMac you have to set $WINEPREFIX, and also $PATH and $LD_LIBRARY_PATH as soon as you're not using your system Wine.

Or use Configure button > (select virtual drive) > Miscellaneous tab > "Open a shell in this virtual drive" button

and get a terminal with the right environment already setup by PlayOnLinux.

 

giffmemana Wednesday 30 September 2015 at 7:27
giffmemanaAnonymous

Hey thanks for the help. But im not very good with linux. What do I have to do after I "Open a shell in this virtual drive" ?

petch Wednesday 30 September 2015 at 7:46
petch

Type winetricks. But what do you want to install with winetricks by the way? That's not what we support anymore for installing native components.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com