Menu

New document on open via command line

2007-06-18
2012-11-13
  • Nobody/Anonymous

    I hope there is a way to do this.  I want to be able to have Notepad++ create a blank document when it is started and an instance already exists, not just display the currently open document.  Is there a command line switch or other technique I can use.  I could write a wrapper that starts it with the command line for a file name that I randomly generate.  However, this would have two problems, it still asks if I want to create the document (requires a extra click) and I might not actually want the document to be written to disk.  I need this feature to replace Notepad with a mutli-tab Notepad++.

    Thanks.

     
    • MJG

      MJG - 2007-06-18

      There may be a way, but I use a workaround:  Edit an existing Blank.txt (always empty) and then use "Save As..."  --Joel