I have the following error message in AR XI :
There was an error opening this document. This file cannot be found
when I try to open a pdf
document by clicking-right on it, both with default application or special script.
If the document is in the last folder I used in AR, it works fine, but if I try to open a file in another directory, I have this error message.
The script I use :
#!/bin/bash
/usr/bin/wine "C:\\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" $1
the desktop
file :
[Desktop Entry]
Name=Adobe Reader XI
Exec=env WINEPREFIX="/home/nico/.wine" wine C:\\\\Program\\ Files\\\\Adobe\\\\Reader\\ 11.0\\\\Reader\\\\AcroRd32.exe %f
Type=Application
StartupNotify=true
Simply use your script in your desktop file:
and change your script to:
Note the double quotes for
$1
.