dir

Displays the contents of a directory.
   dir [d:][path][file] [options]

Options

  d:path\file
  A specific file to display.

  /p
  Displays one page of the listing at a time.

  /w
  Displays the listing in wide format.


  /s
  List every occurrence in all subdirectories.

  /b
  Bare format. Lists one name per line.

  /L
  Displays names in lowercase.

Notes

To customise the default appearance for dir, use the DIRCMD environment variable. For instance:
   set DIRCMD=/w/p
To override something set in DIRCMD, use a hypen on that switch at the command line. (for example /-w)
Copyright © 1998 Jim Hall
This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying.txt for copying conditions.