Export List of Files in an Explorer Folder

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

 

Question Info


Last updated February 19, 2019 Views 312,956 Applies to:
Answer
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!

131 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer

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

670 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.