1 / 18

Introduction to MS-DOS

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.

Download Presentation

Introduction to MS-DOS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to MS-DOS

  2. What is DOS Programming? • DOS stands for DISK OPERATING SYSTEM.

  3. Levels of DOS • BIOS • File System • Command Interpreter

  4. The first level: BIOS • It is responsible for managing device like keyboards and disk drives • BIOS means Basic Input/Output System

  5. 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

  6. The third level: Command Interpreter • The command interpreter reads commands typed at the keyboard and attempts to obey them.

  7. The DOS Environment

  8. 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.

  9. 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

  10. 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.

  11. 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.

  12. 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 backslash For example the pathname for a file called KILLER.TXT could be:- C:\DOSTUTOR\DATA\NEATSTUF\KILLER.TXT

  13. Working with DOS Commands

  14. The BASIC commands 1. VER – it tells what the version of your DOS is. Syntax: VER <enter>

  15. The BASIC commands 2. TIME – it tells and allows the user to edit the system time Syntax: TIME <enter>

  16. The BASIC commands 3. DATE - it tells and allows the user to edit the system date Syntax: DATE <enter>

  17. The BASIC commands 4. CLS – it clears the screen Syntax: CLS <enter>

  18. The BASIC commands 5. EXIT – exits from DOS and return to Windows environment Syntax: EXIT <enter>

More Related