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.


Dobrodošli

Hvala Vam što ste izabrali posjetiti DM Spot portal.

Na njemu ćete naći:

  • podatke o autoru,
  • članke na temu nauke i tehnologije,
  • eBiblioteku, preporuke,
  • članke iz života i stila i
  • promociju potencijala Republike Srpske.

Vidjećete i nešto što se nalazi između redova, moju ljubav i trud da ovaj sajt i komunikaciju prema Vama učinim originalnom, korisnom i atraktivnom i obećanje da neću prestati da se trudim.

Ukoliko nađete da Vam je posjeta ovom portalu bila koristila u bilo kom pogledu, razmislite o tome da mi platite kafu kako biste podržali moj rad.

Top Top Top !!!

Igrajte šah - Play chess online