[python-win32] os.startwith issue dealing with .tif (winxp)

timr at probo.com timr at probo.com
Sun Aug 31 06:29:53 CEST 2008


On Fri, Aug 29, 2008 at 11:11:27PM -0300, geoff wrote:
>
> Thanks for that tip Tim.
> Can you point me in the right direction as to how to associate the MS
> Picture and FAX Viewer" as the associated program for TIFs ?

On my system, shdocvw32 is already associated with EMF files.  If that's
true for you, then it's easy.  From a command shell:

    C:\Etc>assoc .emf
    .emf=emffile

    C:\Etc>ftype emffile
    emffile=rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1

If yours looks like that, then you can just type this:

    assoc .tif=emffile
    assoc .tiff=emffile
-- 
Tim Roberts, timr at probo.com
Providenza & Boeklheide, Inc.


More information about the python-win32 mailing list