In Microsoft Windows, there are many ways to get a list of all files in a folder, including all the files within all the subfolders. However, here is one effective way of doing that.

You have to open the cmd prompt in Windows by typing Start / Run/cmd or Search cmd.

After you get the cmd prompt you have to point it to the directory that you want to list. For example, if the directory X is in C:\downloads that you have to type in cmd prompt cd C:\downloads (cd refers to change directory.)

List all Files Recursively

C:\>dir /s

To save results to a file:

C:\>dir /s /b>filelist.txt

View them a page at a time:

C:\>dir /s | more

NOTE: If you would like to PROMOTE link in this article, please let me know.

If you liked this article, please like/subscribe to YouTube ChannelDM Spot FB page, Twitter, or LinkedIn and be notified when a new article is published.