Tips and Information
Section: Computer
Examples to some common DOS commands (in Windows 98SE) (1). Display the directory.

Home page
More tips to "Computer"
 

Examples to some common DOS commands ( in Windows 98 SE) (1).


Display the directory.


DOS = Disk Operating System.

You can enter the DOS commands after the DOS prompt (A:\> or C:\> ).
Note: Drive letter "a" will be used here for the first floppy drive ; drive letter "c" for the hard drive and "d" for the CD-ROM drive.

Display the list of contents ( list of files in a directory ) of a floppy disk, hard disk or CD-ROM:

dir a:\
displays the list of contents of a floppy disk in drive A .

dir a:/w
displays the list of contents of a floppy disk in drive A ( only file names ).

dir a:/p
displays the list of contents of a floppy disk in drive A ( page by page ).

dir c:\
displays the list of contents of a hard disk (drive letter c) .

dir c:/w
displays the list of contents of a hard disk (drive letter c) (only file names).

dir c:/p
displays the list of contents of a hard disk (drive letter c) ( page by page ).

dir c:\temp/w
displays the list of contents of a hard disk (drive letter c) of the directory "temp" ( only file names ).

dir c:\windows\system\vmm32/p
displays the list of contents of a hard disk (drive letter c) of the lower level directory "vmm32" in the sub directory "system" which is in the directory "windows" .

 

Note: Our tips, information and other contents on this web site are subject to our Disclaimer and Trademark Information .
Disclaimer and Trademark Information

Last update of this web page: 9.Jan. 2002.