Dos Command to list folder structure into file

The other day I had a very long list of files inside of a folder structure and needed to create a table with this data.

From time to time we need to have a list of directory file names not only in the screen.

The other day I had a very long list of files inside of a folder structure and needed to create a table with this data.

The other day I had a very long list of files inside of a folder structure and needed to create a table with this data.

Here a quick way to export the structure to a file using a DOS command:

 

dir *.xml /b /a-d /s | sort > files1.txt

 

 

 

 

simple and easy…

 

Tags
About the author
Eduardo Silva was born in Buenos Aires, Argentina, and has being living in London for the past 15 years. With a background in psychology he is a IT developer and the co-founder of open-ecommerce.org, a digital content social enterprise. His passion is digital story-telling and has created short films and documentaries to help people promote there ideas.