Menu

Open at last line

A A
2009-05-12
2012-11-13
  • A A

    A A - 2009-05-12

    Hello

    Can someone tell me if there is an option to open a file with notepad++ at the last line please?
    thank you

     
    • cchris

      cchris - 2009-05-13

      Isn't hitting Ctrl-End when the document is active applicable?

      CChris

       
      • mike_hinson

        mike_hinson - 2009-05-13

        Command line option for on at line number seems to do what you want if you specify a very high line number

        notepad++.exe -n999999

         
    • A A

      A A - 2009-05-13

      Thank you both

      My .out file are open automatically with notepad++
      But how to i make it done with the option -n9999999, please?

      thanx

       
      • Jocelyn Legault

        Jocelyn Legault - 2009-05-13

        Little batch file, maybe?

        np_open_last.bat:
        notepad++.exe -n99999999 %*

        And have your out file use your batch file to open.
        However, I'm not sure you can associate batch files to open file...

         
    • A A

      A A - 2009-05-14

      Thank you both

      My .out file are open automatically with notepad++
      But how to i make it done with the option -n9999999, please?

      thanx

       
    • A A

      A A - 2009-05-14

      Jocelyn

      Thank you
      It works with actually :

      start "NotePad++" "C:\Program Files\Notepad++\notepad++.exe" -n99999999 %*