Just another Perl shrine | |
PerlMonks |
Opening a text file in its native applicationby FM (Acolyte) |
on Jan 16, 2006 at 05:56 UTC ( [id://523400]=perlquestion: print w/replies, xml ) | Need Help?? |
FM has asked for the wisdom of the Perl Monks concerning the following question: Dearest Monks, I don't understand why the following piece of code does not work the way I expect it (it opens a command prompt window when I expect it to open notepad). My goal is to open a .txt file in its native application which I assume to be notepad. The file is created and closed before I attempt to run this piece of code.The following code opens Guide in its native application (adobe). In this case I don't worry about the path because I know that that file is in the same folder than the application code.
In the first code that does not work, I have to give the full path and I have a feeling that it is the problem. I don't pass all the pieces correctly. (?) I would appreciate any thoughts you may have. Thanks in advance for your time. Claire
Back to
Seekers of Perl Wisdom
|
|