Where is Word?
Guy Lateur
guy.lateur at b-b.be
Tue Jun 14 06:01:43 EDT 2005
Unfortunately, I need to open/edit a (temporary) text file with Word, and
those are opened by default with UltraEdit (or Notepad or..). Thanks for the
tip, though.
Anything else? Do I need to read the registry?
g
While this doesn't answer the question you're asking, I
believe it does solve the problem you're facing. Relying
on the fact that the Microsoft Office products will
have associated themselves as the default (Open) action
with files of the appropriate extensions, you can use
os.startfile:
<code>
import os
os.startfile ("c:/temp/blah.doc")
</code>
HTH
TJG
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
More information about the Python-list
mailing list