[Bug 19385] the 'wine start' launcher does not open MS Office documents that have spaces in their path

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 4 01:41:04 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=19385


Ivan Tham <ivansf92 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ivansf92 at gmail.com




--- Comment #11 from Ivan Tham <ivansf92 at gmail.com>  2010-02-04 01:41:03 ---
The problem is that whatever is launching, MS Word is not properly wrapping the
file name in quotes (i.e., "My Document.docx" is treated as "My"
"Document.docx")

Working around the problem isn't too hard.

Try the following.
1) Make a script with the following text:
#!/bin/bash 
wine "C:\Program Files\Microsoft Office\Office12\winword.exe" "`winepath -w
"$@"`"
and save it as "word_launch.sh". Put it somewhere safe, like your home
directory.
2) Make the script executable (right-click on the script, Properties,
Permissions).
3) Right-click on a Word document, choose Open With and choose Other
Application...
4) Hit the browse button and find the script you just made:
5) Repeat steps 3 and 4 for each different file type (.doc, .docx).
6) Make a new script for each different program (Word, Excel, etc.)


(The solution above is taken from Mazin's post in the following page:
http://ubuntuforums.org/showthread.php?p=8769518)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list