Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1186  / 2 Years ago, sun, february 20, 2022, 8:19:16

I do something like:



$ ln -s '/home/deostroll/.wine/dosdevices/c:/Program Files/Internet Explorer/iexplore.exe' /usr/bin/iexplore


I am expecting that at the shell I can just type the following and expect the Internet explorer browser window to show up:



$ pwd
<where ever>
$ iexplore


But instead I get the following error message:



wine: cannot find L"Z:usrbiniexplore."


What am I doing wrong?


More From » windows

 Answers
6

That is because you need to create a script (a wrapper of sorts) to make WINE find the .exe correctly.



Here's an example:




  • Create the link (as you did in your question).

  • Open a text editor and type the following:



    wine /path/to/link

  • Save the file as iexplore.


  • Make the file executable.

  • Place this file in /usr/bin.






An alternative method (if the link still causes issues) is to copy the iexplore.exe file /usr/bin and simply tell the script to point to it:



wine iexplore.exe






A third option would be to point the script directly to the file:



wine /path/to/iexplore.exe


[#41988] Monday, February 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
;