[Wine] launching wine application for mozilla mail attachments
L. Rahyen
research at science.su
Sun Dec 31 10:07:09 CST 2006
On Sunday December 31 2006 14:36, Jerry Geis wrote:
> I did that and the file is put in the /tmp/filename.efx directory.
> I tried manually running wine myapp.exe /tmp/filename.efx
> and it wont open the file from the /tmp directory.
Very strange. If I run "wine notepad /tmp/test.txt" notepad tells me that
file "mp/test.txt" doesn't exist. But if I execute "cd /; wine notepad
tmp/test.txt" everything works fine. This looks like a bug. Applications
launched with Wine always fail to open file if their argument contains "/" at
the beggining (that means all absolute unix paths cannot be given as
arguments to Windows programs!).
Anyway, to solve your problem try the following:
#!/usr/bin/env sh
wine C:\\windows\\efaxview.exe `winepath -w "$@"`
More information about the wine-users
mailing list