Hen you save as. Just name it matrix.bat

Then it will be a .bat file. Likewise if you save it as like.. Matrix.doc it will open in word. Etc.