Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     dir [/w] dir_spec [/w]

This command may be used to list the directories of any disk on the local or
remote machine.  Any of the DOS or OS/2 "wild card" characters ("?" and "*")
may be used.  If /w is specified then file names are displayed across the
screen ("wide") and the file creation date and time are omitted.

Example:

     dir \tmp

List the names of files in the "TMP" directory of the current drive.

Example:

     dir d:\etc

List the names of files in the "ETC" directory of the "D" disk of the
current locale (local or remote).

Example:

     dir @rc:\demo

List the names of files in the "DEMO" directory of the "C" disk of the
remote machine.  Both locale and disk are specified.

Example:

     dir @le:test

List the names of files in the "TEST" subdirectory of the current directory
of the "E" disk of the local machine.  If no "TEST" subdirectory exists then
the names of all files named "TEST" will be listed.  Both locale and disk
are specified.

Example:

     dir @le:test.*

List the names of all files named "TEST" in the current directory of the "E"
disk of the local machine.  Both locale and disk are specified.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson