Re: launching wine application for mozilla mail attachments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 "$@"`



_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux