dir command

The Windows Command Prompt command that lists the files and folders in a directory.

In more detail

dir is the Windows counterpart of ls. Do not confuse it with Python's dir() function, which lists the names on an object.

Related terms

Taught in

References