Hi, something like this should already be possible.
In main menu Tools->File associations... you can select what file types should be opened with Paint.COM. It will be the default command, but depending on your Windows version, you'll see all the associated applications in the "Open With" submenu in Explorer.