[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
Mon Mar 15 04:42:41 CDT 2010


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


Marius Marais <marius at fireid.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marius at fireid.com




--- Comment #20 from Marius Marais <marius at fireid.com>  2010-03-15 04:42:40 ---
A few ways of launching Word document "Open source at your company.docx":
 1. wine 'C:\Program Files\Microsoft Office\Office12\WINWORD.EXE' "`winepath -w
"/home/FFAD/marius/Desktop/Open source at your company.docx"`"
 2. Double-clicking
 3. wine start /ProgIDOpen Word.Document.12 "/home/FFAD/marius/Desktop/Open
source at your company.docx"

With a default install, only 1 works (note the excessive quoting), with 2-3
making Word sound like William Shatner.  (3 is used internally when
double-clicking.)

Using the Regedit advice above, I changed
HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command\(default) from:
  "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde
to
  "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde "%1"
.

Now 1-3 all work.

The same sort of Regedit changes work for Word.Document.8 (doc) and other files
that don't open correctly by themselves.

(wine --version => wine-1.1.40)

-- 
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