Dir may refer to any of the following:

  1. Dir is often used as an abbreviation for the word directory.

  2. Dir is a built-in (internal) command in the Windows and MS-DOS command line that lists the contents of a directory. It may also be used in a Windows FTP command line session to list files and directories on the remote or local computer.

  3. When referring to HTML, the

    tag was used to designate a collection of file names.

In Unix-like operating systems such as Linux, the corresponding command that lists files and directories is ls.

  • See our Windows and DOS dir command reference for further information.
  • How to use FTP from a command line.
  • How to list files in a directory or folder on the computer.

FTP, HTML, Mdir, MS-DOS, Operating system terms