in reply to How can I open a file in it's default program ?
how do I use perl to open and close that file in it's original program (notepad) ?
It depends upon whether the file type of the file in question is associated with the program in question?