Is there an API that will open notepad?

More specifcally a text file in notpad? If so can someone tell me the code?

For example, someone clicks a button and the desired text file appears in notepad.....