how to resolve "cannot find L"C:\\windows\\system32\\cfg.exe

Questions about Wine on Linux
Locked
juntjoo
Level 3
Level 3
Posts: 58
Joined: Sat Nov 26, 2016 8:55 am

how to resolve "cannot find L"C:\\windows\\system32\\cfg.exe

Post by juntjoo »

"ben@Hal:~$ wine cfg
wine: cannot find L"C:\\windows\\system32\\cfg.exe""

I believe this is because I created a wine prefix other than the default as shown above. Is there a way to tell wine about this so that this won't happen or is there another solution? Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: how to resolve "cannot find L"C:\\windows\\system32\\cfg

Post by dimesio »

The command is winecfg, not wine cfg.

To use a wineprefix other than the default, you have to specify it in the command line, the same way I showed you in your other thread. Assuming you're using the office2007 wineprefix, the command to run winecfg for that wineprefix would be:

Code: Select all

WINEPREFIX=$HOME/office2007 winecfg
juntjoo
Level 3
Level 3
Posts: 58
Joined: Sat Nov 26, 2016 8:55 am

Re: how to resolve "cannot find L"C:\\windows\\system32\\cfg

Post by juntjoo »

dimesio wrote:The command is winecfg, not wine cfg.

To use a wineprefix other than the default, you have to specify it in the command line, the same way I showed you in your other thread. Assuming you're using the office2007 wineprefix, the command to run winecfg for that wineprefix would be:

Code: Select all

WINEPREFIX=$HOME/office2007 winecfg
thanks. winecfg worked
Locked