Menu

problem with "Send To" in windows

2007-05-23
2012-11-13
  • Nobody/Anonymous

    Hi,

    I set notepad++ as one of my Windows' "Send To" shorcut. This way in Explorer, I can select or click-select one or more  files then right click and select "Send To" notepad++. This worked in previous version of notepad++.

    With version 4.1.1 and 4.1.2, if I select files: c:\dev\proj1\file1.html c:c:\dev\proj1\file2.js
    then notepad++ will prompt me
       "File do not exist, do you want to create file: "c:\dev\proj1\file1.html c:c:\dev\proj1\file2.js"

    Did I missed a setting so I can get notepad++ to open multiple files to support Windows "Send To"?
    (notepad++ works correctly when I only selected one file).

    thanks in advance,

    john

     
    • MJG

      MJG - 2007-05-24

      Notepad, Wordpad (AKA Write) and Notepad++ all have trouble with Send To and multiple file selection.

      You can get it to work if there are no files already loaded in Notepad++.  This means 1) turn off "Remember the current session for next launch" on the MISC tab of the Preferences dialog, and 2) close any open files if you have Notepad++ already running.

      Or you can get it to work (maybe) by editing the shortcut in the Send To subdirectory.  Add the name of a small text file that you don't mind opening all the time, enclosing the name in quotes.  For example, the shortcut's target field could be:

      "C:\Program Files\Notepad++\notepad++.exe" "C:\dummy.txt"

      Maybe you could experiment on getting this to work without the file reference...

      If you have the Edit with Notepad++ pop-up menuitem on the right-click context menu, you might be able to use that instead.  It has worked for me this way.  That menuitem is an installation option, in case you don't have it.  --Joel

       
      • Nobody/Anonymous

        Thanks MJG.

        It worked even simply having an empty string "" in the shortcut target field:
        "C:\Program Files\Notepad++\notepad++.exe" ""
        (make sure there is a space at the end of the string)

         
        • MJG

          MJG - 2007-05-25

          It works great!  Thanks for figuring out a good workaround and for letting us know about it.  --Joel