[Wine] launching wine application for mozilla mail attachments
Jerry Geis
geisj at pagestation.com
Sun Dec 31 11:05:05 CST 2006
Your suggestion didnt work for me, so I tried the following:
#!/usr/bin/env sh
FILE=`basename $@`
mv $@ /home/silentm/drive_c/$FILE
/usr/local/bin/wine c:/windows/efaxview.exe c:/$FILE
This did work but might not be the best...
THanks for the help,
Jerry
L. Rahyen wrote:
> 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