Where is Word?

guy lateur guy.lateurNNOOSSPPAAMM at pandora.be
Tue Jun 14 17:15:29 EDT 2005


Thanks for all the feedback, everyone. What a helpfull community this is! 
It's actually kinda hard keeping up with y'all..

Cheers,
g


"Guy Lateur" <guy.lateur at b-b.be> schreef in bericht 
news:uFxre.120359$sR7.6729742 at phobos.telenet-ops.be...
> Hi all,
>
> I need a way to get the path where MS Word/Office has been installed. I 
> need to start Word from a script (see earlier post), but it doesn't work 
> if I don't know its path. So "os.system("winword.exe %s" % fileName)" 
> doesn't always work; I need to say "os.system("C:\Program Files\Microsoft 
> Office\Office10\winword.exe %s" % fileName)".
>
> Any ideas?
>
> TIA,
> g
> 





More information about the Python-list mailing list