DIR + Listing Files in a DirectoryLists files contained in a directory.
VERSION
PC-DOS 2.0+ (revised from 1.1)
MS-DOS equivalent: DIR (2.0+)
TYPE
Internal
SYNTAX
DIR [d:][path][filename] [W]
OPTIONS
[d:][path][filename] Specify the drive letter, path
name, or file name when you
wish to obtain a directory
listing of files that are not
in the current directory.
/P Tells DOS to pause when the
screen has been filled. To see
the next screen of file names,
press any key.
/W Displays a directory showing
only file names in a wide
format- -five names across
each line.
DIR is used to display the contents of a directory as well
as the file size in bytes, the date and time of last
modification, the number of bytes available on the disk, and any
subdirectories under the current directory.
EXAMPLES
DIR C:
displays the contents of the current working directory on drive
C.
DIR C:*.MAC
displays only those files in the current working directory of
drive C that have the .MAC extension.
NOTE
If you have used the /V option with the FORMAT command, the
first line of the DIR listing will report the name of the disk
label. If you did not label your disk, this line reads
Volume in drive x has no label
This information is not provided in early versions of the DIR
command. The DIR command does not list hidden files that are
created by the FORMAT and the SYS commands. The CHKDSK command
lists these files. The /W and /P options affect only how the
files are displayed (wide or with pauses between screenfuls), not
the content of what is displayed on the screen.
------------------------------------------------------------------
[For related topics, press R]
SEE ALSO
ATTRIB Command
CHKDSK Command
COPY Command
DEL (DELETE) and ERASE Commands
FORMAT Command
PRINT Command
RENAME EN) Command
REPLACE Command
SHARE Command
SYS Command
TYPE Command
VERIFY Command
file: /Techref/dos/command/dir.htm, 2KB, , updated: 1999/2/20 11:24, local time: 2024/10/31 20:39,
3.137.165.228:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/dos/command/dir.htm"> dos command dir</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.