Export List of Files in an Explorer Folder

Anonymous
2010-05-19T22:48:06+00:00

How can I export a list of files located in a file folder to excel or to a text document? Preferably excel.

Thank you,

Tom

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2010-05-20T14:10:26+00:00

Hello Tom,

You can simply paste the list into Excel, as follows:

  1. Open Windows Explorer and select the source folder in the left pane.
  2. Press Ctrl + A to select all items in the right pane.
  3. Press and hold the Shift key, then right click on the selection.
  4. From the context menu, choose "Copy as Path".
  5. Paste the list into Excel.

Doug M. in NJ

Was this answer helpful?

1700+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2012-10-26T00:04:08+00:00

You must have the directory you wish to list on your hard drive(not a network share although a mapped drive may work?

Files should be displayed in the details format within the directory.

  1. type cmd into the start menu to bring up a dos prompt
  2. use the command (for instance)   "cd C:\Users\BobJones\Desktop\New folder" to navigate to the folder in question
  3. use the command "DIR > doggy.csv" to create a file named doggy.csv in the same directory that you can open directly with excel. Nothing much looks lik it is happening but you wuill find the small file as expected.

Good Luck!

Was this answer helpful?

200+ people found this answer helpful.
0 comments No comments

39 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-06-10T21:12:02+00:00

    never mind...I found the answer....went to the folder using cmd prompt and typed in dir > myfiles.txt.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-06-10T21:00:45+00:00

    great answer! can't believe how much easier that is versus going to cmd prompt and doing the dir filelist.txt way. followup question though, any way to get the file size and date modified fields to show as well?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2013-04-01T15:54:58+00:00

    Worked like a charm using Windows 7!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments