[Tutor] Seek suggestions for script for looking up extensions using C:\>assoc

Richard D. Moores rdmoores at gmail.com
Fri Aug 6 15:11:53 CEST 2010


Python 3.1; Windows Vista.

I just ran C:\>assoc and was amazed to see 658 associations roll by.
Here's the top of the list:

.001=jZip.file
.386=vxdfile
.3g2=QuickTime.3g2
.3gp=QuickTime.3gp
.3gp2=QuickTime.3gp2
.3gpp=QuickTime.3gpp
.7Z=jZip.file
.aa=NeroShowTime.Files9.aa
.aac=QuickTime.aac
.ac3=QuickTime.ac3
.aca=Agent.Character.2
.acf=Agent.Character.2
.acl=ACLFile
.acr=IrfanView.DCM
.acrobatsecuritysettings=AcroExch.acrobatsecuritysettings
.acs=Agent.Character2.2
.acsm=Adobe.ACSMessage
.AddIn=VCExpress.AddIn.9.0
.adts=QuickTime.adts
.aif=IrfanView.aif
.aifc=WMP11.AssocFile.AIFF
.aiff=WMP11.AssocFile.AIFF
.air=AIR.InstallerPackage

I thought it would be convenient to have a Python script I could use
to look up unfamiliar file extensions. I assume one is possible, but
have no idea where to start, and would appreciate hints and
suggestions.

Thanks,

Dick Moores


More information about the Tutor mailing list