Site Overlay

List files in an Excel folder

Import names and extensions of files in folder into excel

Open the CMD Page.

Navigate to the folder whose contents you want to list.

dir /b > list.txt 

In the folder whose contents you want to list.txt you will see that the names and extensions of all the files in the folder are listed in a file called list.

dir /b /s > list.txt

command will dump a list including subfolders.

You can enter csv and get excel list directly.

image 2
Sample output image