James Knott wrote:
When I run the wordview script with a filename, Word Viewer opens with the document. When launched from the desktop, it doesn't.
The same problem applies, if I configure the file associations to run wine & WORDVIEW.EXE directly.
I have just noticed something very curious. In order to see what was happening, I added a line to the wordview script, to display the file name. This showed that the full path & file name was being passed to the script. I then tried various combinations from the command line. If, while in the resume directory, I entered "wordview J_Knott.doc", it worked fine. And if while in my home directory, I entered "wordview resume/J_Knott.doc", it also worked. However, if I entered either "wordview /home/jknott/resume/J_Knott.doc" or "wordview ~/resume/J_Knott.doc", it failed. So, for some reason, it appears that word viewer is fussy about paths.