Search code examples
windowswindows-explorer

Copy a file list as text from Windows Explorer


Is there a quick way to copy a list of filenames as text into the clipboard from Windows Explorer?

I can do it from the command prompt with dir > filenames.txt, but I am looking for something along the lines of Ctrl + C -> Ctrl + V.


Solution

  • In Windows 7 and later, this will do the trick for you

    • Select the file/files.
    • Hold the shift key and then right-click on the selected file/files.
    • You will see Copy as Path. Click that.
    • Open a Notepad file and paste and you will be good to go.

    The menu item Copy as Path is not available in Windows XP.