hey...i'm curious about the whole "file type associations" thing. like, if you have a filetype windows doesn't recognize, you can assign whatever program to be the default one to open it. but when your writing your program, say we're going to text files | a text editor, what would you code into the editor so that you could double click the file and it would be opened with the program? similar to how when you double click on a .txt file, its opened in notepad (/ default txt editor)?

thanks