Copy File Name BY Dragging

  • 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.

  • @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?


Log in to reply