Software >> OS >> Windows >> Command Line >> How to associate programs to a specific file extension

eg. to associate .tif files with photoed.exe c:\> ftype tiffile="C:\Program Files\Common Files\Microsoft Shared\PhotoEd\PHOTOED.EXE" "%1" c:\> assoc .tif=tiffile