please dont rip this site
DIR + Listing Files in a Directory

Lists 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 10:24, local time: 2024/11/19 11:28,
TOP NEW HELP FIND: 
18.223.125.42:LOG IN

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/DOS/command/dir.htm"> DOS command dir</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?