TECHIES WORLD

For Techs.... Techniques.... Technologies....

Windows

How to list files in a folder using Windows cmd

We can use the dir command to list out the files in a folder.

#dir

This will list out all the files in the current folder.

If we provide the full path to any folder as the command argument, it will list out the files in that specified folder.

#dir <path-to-folder>

That's all…