win32: Registering windows file types?

Branimir Petrovic BranimirPetrovic at yahoo.com
Wed May 21 09:17:31 EDT 2003


nirmalkannan at hotmail.com (N.K) wrote in message news:<5b04353b.0305200606.700464a4 at posting.google.com>...
> For registering windows filetypes, basically you need to add couple of
> registry entries. This article should give you a good idea on that.
> 
> <<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fa_intro.asp>>


Easiest way to change file association on WinNT, Win2K, WinXP would
be to run shell commands:

assoc .html=MozillaHTML
ftype MozillaHTML=C:\PROGRA~1\MOZILLA.ORG\MOZILLA\MOZILLA.EXE -url "%1"

Branimir




More information about the Python-list mailing list