[Wine] launching wine application for mozilla mail attachments

Alexander Nicolaysen Sørnes alex at thehandofagony.com
Sun Dec 31 08:47:15 CST 2006


Søndag 31 desember 2006 14:58, skrev Jerry Geis:
> Thanks,
>
> I created the file, and clicked on my attachment. Wine does come up now
> but the file is not loaded. Any thoughts on that? My file is this:
>
> #!/usr/bin/env sh
> /usr/local/bin/wine c:/windows/efaxview.exe $@


Try this instead

#!/bin/bash
/usr/local/bin/wine "C:\windows\efaxview.exe" "$@"


Regards,

Alexander N. Sørnes

>
>
> Jerry
>
> L. Rahyen wrote:
> > On Saturday December 30 2006 16:10, Jerry Geis wrote:
> >> I am trying to get a wine application to launch
> >> when I click on email attachments.
> >>
> >> The error I get is "The application you specified wine
> >> c:/windows/efaxview.exe could not be found"
> >>
> >> How do I get a wine application to run when clicking
> >> on an email attachment.
> >
> > 	It is possible that problem arises because string "wine
> > c:/windows/efaxview.exe" interpreted like "wine\
> > c:/windows/efaxview.exe". And this is of course lead to such error. This
> > is bug in your application and not in Wine. As workaround try the
> > following. Open "/usr/bin/efaxview.exe" in your favorite text editor (as
> > root). Then paste to this file command to run your Windows application:
> >
> > 	#!/usr/bin/env sh
> > 	 wine c:/windows/efaxview.exe $@
> >
> > 	Save it and close. Now execute (as root):
> >
> > 	chmod +x /usr/bin/efaxview.exe
> >
> > 	Now you can use efaxview.exe command from the shell to run it. Simply
> > provide this short command without spaces to your program to open mail
> > attachments. Hope this helps.
>
> _______________________________________________
> wine-users mailing list
> wine-users at winehq.org
> http://www.winehq.org/mailman/listinfo/wine-users



More information about the wine-users mailing list