There can be many folders and subfolders inside a partition, and many different types offile extensions.

Moreover, you’re able to alsoview hidden itemsas well directly from the Command Prompt.

However, the only switches we will be interested in are/aand/s.

How To List Files In Windows Using Command Prompt

Using theDIRcommand alone will display all the files and folders inside that particular directory.

It will not show any hidden items, and it will now show any items inside the subdirectories.

However, if you useDIR /a, it will show the hidden items as well.

Download Windows 11 IoT Enterprise LTSC ISO

To perform a recursive search, we must use the/sswitch.

Closing Words

The Windows command line offers much more control over the fetched data than its GUI.

0

Get weekly insights, tips and exclusive content delivered straight to your inbox.

Startup folder in all versions of Windows

Talk to us straight and get your questions answered right away

Download Windows 11 Version 24H2

source: www.itechtics.com