Re: invoquing wine

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

 



Hi,

In november, I sent that message about invoquing wine and acrobat

> Hi,
> 
> I use wine to invoke Acrobat.
> I made a shortcut like this to acroread :
> "exec wine -- /mnt/disk/wtravail/applis-perso/adobe/Acrobat/Acrobat.exe $1 
> 2>/dev/null"
> to get it started.
> 
> Can anyone explain why I sometimes get "file open error : file doesn't 
exist" 
> ?
> I tested following :
> acroread esf.pdf => works
> acroread cups-pdf/esf.pdf => works (with relativ dir.) 
> acroread ~/cups-pdf/esf.pdf => doesn't work (whereas dir. cups-pdf is in my 
~)
> acroread /home/christophe27/cups-pdf/esf.pdf => doesn't work 
> 
> Has it with wine to do ? of with bash ?
> 
> Thanks
> christophe
> 

I want to give you the updates :

According to uour advice, it didn't work because I didnot use the windows way 
to describe a path. actually it seems it is only important to provide a drive 
letter. Direct or backslash is not important.

Then, I modified the script to get :

#!/bin/sh
#
        if [ -z "$1" ]; then
                 xmessage usage: $0 /unix/path/to/file
                 exit
        fi
        export LANG=fr_FR
        exec wine -- /mnt/disk/wsysteme/applis/msoffice/office/excel.exe z:$1
## eof

This script is only supposed to be used with a complete path to file from the 
root FS(/).
But excel still tells me it cannot get the file !!! I know it got a complete 
argument (path and file) since when I introduce a mistake, it shows me the 
complete path with the mistake inside. Moreover, a quick ps shows the 
following ps is active :

 /usr/bin/wine-pthread -- /mnt/disk/wsysteme/applis/msoffice/office/excel.exe 
z:/home/chirstophe27/wnotes/data/perso/contacts11.xls 

Any clue ?
Could you just try to lauch a windows application with wine, introducing an 
argument ? Does it work for you ?
(something like : wine /mnt/disk/wsysteme/applis/msoffice/office/excel.exe 
z:/home/chirstophe27/wnotes/data/perso/contacts11.xls).

And my question would be : if it works for you, do you have an idea why it 
does not work for me ?

Thanks 
christophe

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

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

  Powered by Linux