Top Banner
18

Introduction to MS-DOS

Dec 31, 2015

Download

Documents

Mackenzie Payne

Introduction to MS-DOS. What is DOS Programming?. DOS stands for DISK OPERATING SYSTEM. Levels of DOS. BIOS File System Command Interpreter. The first level: BIOS. It is responsible for managing device like keyboards and disk drives BIOS means Basic Input/Output System. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to MS-DOS
Page 2: Introduction to MS-DOS

What is DOS Programming?

DOS stands for DISK OPERATING SYSTEM.

Page 3: Introduction to MS-DOS

Levels of DOS

BIOS File System Command Interpreter

Page 4: Introduction to MS-DOS

The first level: BIOS

It is responsible for managing device like keyboards and disk drives

BIOS means Basic Input/Output System

Page 5: Introduction to MS-DOS

The second level: File System The system files, which are hidden,

perform such basic tasks as reading the keyboard, displaying characters on the screen, opening and closing files etc

Page 6: Introduction to MS-DOS

The third level: Command Interpreter The command interpreter reads

commands typed at the keyboard and attempts to obey them.

Page 7: Introduction to MS-DOS

The DOS Environment

Page 8: Introduction to MS-DOS

What is a FILE?

A file is simply a collection of information that you store on a disk or diskette.

In general, each file must have a unique name. However, two files can share the same name provided that they are on different disks, or in different directories.  

A file name has two parts: the filename itself and an extension.

Page 9: Introduction to MS-DOS

Limitations of a FILE

The only characters you cannot use in filenames are: 

" / \ [ ] < > + = ; : , ? * { } Spaces are not permitted in older

MS-DOS To be safe, always make your

filenames without spaces

Page 10: Introduction to MS-DOS

What is an EXTENSION?

Use extensions to make your filenames more descriptive. There are some extensions to which you computer attaches a special meaning.

COM, DLL, BAT or EXE are usually programs or application files.  Don't use these names for any of the files you make.

Page 11: Introduction to MS-DOS

What is a DIRECTORY?

One way of organizing the files on your computers Hard disk is to put them in different directories.

Directories enable you to arrange your files in whatever way you want and get files you need quickly.

Page 12: Introduction to MS-DOS

What are PATHNAMES?

A pathname is a sequence of directory names followed by a filename. Each directory name is separated from the previous one by a backslashFor example the pathname for a file called KILLER.TXT could be:-

  C:\DOSTUTOR\DATA\NEATSTUF\

KILLER.TXT

Page 13: Introduction to MS-DOS
Page 14: Introduction to MS-DOS

The BASIC commands

1. VER – it tells what the version of your DOS is.

Syntax: VER <enter>

Page 15: Introduction to MS-DOS

The BASIC commands

2. TIME – it tells and allows the user to edit the system time

 Syntax: TIME <enter>

Page 16: Introduction to MS-DOS

The BASIC commands

3. DATE - it tells and allows the user to edit the system date

 Syntax: DATE <enter>

Page 17: Introduction to MS-DOS

The BASIC commands

4. CLS – it clears the screen Syntax: CLS <enter>

Page 18: Introduction to MS-DOS

The BASIC commands

5. EXIT – exits from DOS and return to Windows environment

 Syntax: EXIT <enter>