------ Wiadomość oryginalna ------ Od: da Black Baron <dbaron13@atl.bellsouth.net> Data: 2003-10-19 00:25 Temat: Re: wine user-friendliness > Why not put the commands in a shell script, and associate the script > with the file type? > > #! /bin/sh > # > > wine winword $1 In my home directory, I created a script and associated *.doc's with it. In that script, I got the following: #! /bin/sh wine C:\\Program\ Files\\Microsoft\ Office\\Office\\winword.exe $1 After a double-click on a *.doc file in a konqi window, Winword launches and starts complaining about wrong name/path of the document. What's the problem?
Priobably that space between the end of the application path and the %1. Maybe you want to put an escape character after the .exe (\\winword.exe\ %1), or enclose the entire path in quotation marks (wine "C:\Program Files\Microsoft Office\Office\winword.exe %1")
By the way, is that "$1" in your message above a typo? Because it should be "%1".
Hope this helps.
Holly
Thanks, b.
_______________________________________________ wine-users mailing list wine-users@winehq.com http://www.winehq.com/mailman/listinfo/wine-users