How to use the dir or directory command .
The syntax c : / windows > dir / p and enter.
Displays the files saved in computer.
The syntax c : / windows > dir / w and enter.
Displays file saved in columns.
The syntax c : / windows > dir / p /w and enter.
Displays file saved on screen and in column.
The syntax c : / windows > dir / on and enter.
It displays files and directory in alphabetical order.
The syntax c : / windows > dir / 0d and enter
It displays the files and directory from the oldest to newest.
The syntax c:/windows > dir/os and enter
It displays the files and directory in order of size in bytes.
