I want to add a file type extention called .phtml to the set association page. In this case I want eclipse to automatically open Zend .phtml files
Control Panel\Programs\Default Programs\Set Associations
I want to add a file type extention called .phtml to the set association page. In this case I want eclipse to automatically open Zend .phtml files
Control Panel\Programs\Default Programs\Set Associations
I assume you want to do this programmatically.
This information is stored in the Windows Registry, under HKEY_CLASSES_ROOT. You need a key for the extension (.phtml), with the default being a basic descriptor (something like "ZendFile").
Then you need a key for that descriptor ("ZendFile"), with a subkey of "shell", which will have a subkey of "Open", and a subkey of "command". The default for "command" will need to be the command line to execute.