Announcement

Collapse
No announcement yet.

Open Multiple Files in Text Editor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Open Multiple Files in Text Editor

    I have tried and guess I am not getting it right.

    I want a custom tool so when I am looking at a directory listing of files I can select multiple files and then use the tool to open all of them in a text editor at the same time.

    Can someone give some assistance? I can't see to get it to launch.

  • #2
    Let us know what you've tried so far. I'll run some tests here to see what I can come up with.

    Comment


    • #3
      Originally posted by mt_100 View Post
      I have tried and guess I am not getting it right.

      I want a custom tool so when I am looking at a directory listing of files I can select multiple files and then use the tool to open all of them in a text editor at the same time.

      Can someone give some assistance? I can't see to get it to launch.
      I tried:

      "C:\Program Files (x86)\Notepad++\notepad++.exe" %C1%

      "C:\Program Files (x86)\Notepad++\notepad++.exe" %1

      And neither worked. I don't think I have the right variable for the file but cannot seem to find it in the docs.

      Comment


      • #4
        This worked for me:

        "c:\program files\notepad++\notepad++.exe" %P1%\%C1%

        The problem is with the path to the files, which I don't see a way to include. Adding the %P1% allows you to enter the path so Notepad++ knows where to look for them. For example I selected 3 files on \\support\c$\temp, and when it prompted me I entered \\support\c$\temp. That opened all three of the files in Notepad++. I'm still looking to see if I can find a way to pass the path, but for now that at least gives a starting point.

        Comment


        • #5
          Turned out to be even easier:

          "c:\program files\notepad++\notepad++.exe" %E%

          It will ask if you want to wait for each command to finish, click No.

          Comment


          • #6
            Originally posted by cmccullough View Post
            Turned out to be even easier:

            "c:\program files\notepad++\notepad++.exe" %E%

            It will ask if you want to wait for each command to finish, click No.
            Perfect! Thank you.

            Comment

            Working...
            X