PATH fault via command line, not constant

I know that I can change my PATH fault through regedit, but I really need to change the PATH for just one run.

For example, I have my software called frontend.exe, it depends on the example /mylib.dll, I need to call frontend.exe with the example / on PATH. But I can’t install this in the registry, because this configuration is designed specifically for this application, and not for each wine application ...

+4
source share
1 answer

Wine supports the WINEPATH variable. If you export WINEPATH in your Unix Shell as soon as you start the wine, it will use this to populate the PATH environment variable inside the wine.

Example:

$ WINEPATH=anything\\it//willNotBeParsed wine cmd Wine CMD Version 5.1.2600 (1.6.2) C:\>echo %PATH% anything\it//willNotBeParsed;C:\windows\system32;C:\windows;C:\windows\system32\wbem 
+5
source

All Articles