It is the operating system that decides which applications are associated with a given extension. You may configure your OS to open all.dat files with you program if that works for you. Alternatively create a shortcut or a launcher telling what to use.