About

Search This Blog

Saturday 22 June 2013

DIR command in DOS / CMD



Now many operating systems already use GUI but Sometimes we use a DOS / CMD of particular interest ...

The following are some of the DIR command in CMD

1. dir c:

This is the "base" which is used to display the file and directory on drive C.

2. dir c: d:

Used to display files and directories on drive C and D.

3. dir / b / s

Used to display the directory and subdirectory to display the full path name.

4. dir / a

Used to display all files including system files and hidden files (hidden).

To display all the files on the D drive using the following command: dir d: / a

5. dir / os

Used to display files and directories in the order starting from the smallest file size to big size files. To reverse the order you can use the command: dir / os

You can change the parameter s in the above command with:

- N, the command dir / on: sequence name

- E, the command dir / oe: sequential file types

- D, the command dir / od: by date

6. dir / p

To display files and directories per "page".

For the other parameters of the dir command you can see its help by writing: dir /?

Hopefully Helpful ya :)

0 komentar:

Post a Comment