in reply to Re: Open txt file using default program on Windows
in thread Open txt file using default program on Windows

I've never written a Perl script that opens a text file in Notepad (or any interactive text editor), and I can't imagine why anyone else would.

See perlbug.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: Open txt file using default program on Windows

Replies are listed 'Best First'.
Re^3: Open txt file using default program on Windows
by Jim (Curate) on Jun 01, 2013 at 22:52 UTC

    What's in perlbug about invoking Notepad with Perl?

      C:\test>perlbug ... You will probably want to use a text editor to enter the body of your report. If "notepad" is the editor you want to use, then just press Enter, otherwise type in the name of the editor you would like to use. If you have already composed the body of your report, you may enter "file", and c:\perl64\bin/perlbug.bat will prompt you to enter the name of the file containing your report. Editor [notepad]:

      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        Oh. I was looking for a reference to Notepad in perldoc perlbug, and there isn't one.