• Login
Community
  • Login

Find in Files then copy file names to text file

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 858 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Calvin Orley
    last edited by Sep 22, 2022, 10:48 AM

    Hello, I want to search for a keyword in mutiple files in a folder and then copy the resulting file name to a text file. How can i do this?

    TIA

    1 Reply Last reply Reply Quote 0
    • G
      guy038
      last edited by guy038 Sep 22, 2022, 8:03 PM Sep 22, 2022, 11:39 AM

      Hello, @calvin-orley and All,

      Very easy, indeed !

      • Open the Find dialog ( Ctrl + F ) or the Find in Files dialog ( Ctrl + Shift + F )

      • Type in your keyword in the Find what: field

      • Choose the appropriate box options

      • Select your search mode ( Normal, Extended or Regular expression )

      • Click, either, on one of these buttons :

        • Find All in Current Document of the Find dialog

        • Find All in All Opened Documents of the Find dialog

        • Find All of the Find in Files dialog

      • After a while, a new window Search Results should appear, which shows all the occurrences found

      • Inside this window, right-click and choose the Copy Pathname(s) option

      • Open a new tab ( Ctrl + N )

      • Paste the clipboard contents ( Ctrl + V )

      Et voilà !

      Best Regards,

      guy038

      1 Reply Last reply Reply Quote 2
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors