Community
    • Login

    Find in Files then copy file names to text file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.2k Views 1 Watching
    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.
    • Calvin OrleyC Offline
      Calvin Orley
      last edited by

      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
      • guy038G Offline
        guy038
        last edited by guy038

        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors