As you build your directory structures on disk, you will want to add new directories to organize new information. One frequently wants to interrogate a directory on disk to see if a certain file exists, or if file contents are up to date. The DIR command and its various options help us to perform this task efficiently. File size is given in bytes or characters, together with the date and time the file was last modified. DOS System Commands.
Information pertaining to the computer or to a given command is displayed on the monitor.
CLS command clears the monitor screen. VER command displays the version number of the version of DOS you are running. This concludes our brief summary of how DOS works. We next examine DOS' role in supporting applications programs. How DOS and Turbo Pascal Work Together.