Command Prompt Commands .com

 

dir command

             Name a star after a person

Displays contents of a directory.

Options :

  • /w : Wide list format
  • /p : Pause at every page
  • /s : Also look in subdirectories
  • /a[xx] : Display files with the specified attributes only
  • /o[xx] : Modifies sort order
dir [options] [filespec]
    
Equivalent to the Unix command ls (the option -l is "long" list format, it works the opposite way from /w.)

 

Command Prompt Commands » dir