• Login
Community
  • Login

Copy File Name BY Dragging

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 2.1k 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.
  • W
    William Sunderman
    last edited by Dec 11, 2016, 8:20 PM

    I am doing a project where i have to copy thousands of file names into notepadd++. Is there a way i can just drag the file into my open note and the file name appears or better yet drag multiple files into notepad and they each generate on a separate line.

    C 1 Reply Last reply Dec 11, 2016, 11:40 PM Reply Quote 0
    • C
      Claudia Frank @William Sunderman
      last edited by Claudia Frank Dec 11, 2016, 11:40 PM Dec 11, 2016, 11:40 PM

      @William-Sunderman

      afaik, no - but are you sure you want to use npp to generate a file containing list of files?
      I don’t know but a simple dir command could do it as well I guess. Or are your files
      that different that it can’t match a certain filter?

      dir /B *.exe > c:\list_of_exes.txt
      

      Maybe create the list with the dir command and then use regex with npp
      to filter the ones you want?

      Cheers
      Claudia

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