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

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

After you get cmd prompt you have to point it to 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: I you would like to PROMOTE link in this article, please let me know.

If you liked this article, please like DM 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.

Preporuka

Riješite današnji problem

Igrajte šah - Play chess online