Basic MSDOS Tim Paterson Original author of MSDOS
![Basic MS-DOS Basic MS-DOS](https://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-1.jpg)
Basic MS-DOS
![• Tim Paterson - Original author of MS-DOS - graduated from U of • Tim Paterson - Original author of MS-DOS - graduated from U of](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-2.jpg)
• Tim Paterson - Original author of MS-DOS - graduated from U of Washington in 1978 - worked as an engineer in Seattle Computer Products - designed an 8086 CPU card for S-100 Bus in May 1979 - began designing DOS in 1980 after IBM had released their new 8086 microprocessor (16 -bit) • objectives in design of DOS - as simple as possible - make it fast and efficient - written in 8086 assembly language
![• In college, Paterson wrote a multitasking operating system for the Z 80 • In college, Paterson wrote a multitasking operating system for the Z 80](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-3.jpg)
• In college, Paterson wrote a multitasking operating system for the Z 80 microprocessor as a term project. Therefore, Paterson had confidence in writing an OS for 8086 computer. Patterson spent half of his time working on Qdos from April to July, 1980. QDOS was completed in July, 1980.
![History • MS-DOS 1. 0 was released in August 1981, and was updated until History • MS-DOS 1. 0 was released in August 1981, and was updated until](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-4.jpg)
History • MS-DOS 1. 0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95 • All versions of windows still contain some type of DOS, in windows 95 and 98 you can go to run and type command to get to DOS prompt, in NT, 2000, and XP you can type CMD and get DOS.
![DEVELOPMENT HISTORY Date Version Release August 12, 1981 DOS 1. 0 – IBM’s release DEVELOPMENT HISTORY Date Version Release August 12, 1981 DOS 1. 0 – IBM’s release](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-5.jpg)
DEVELOPMENT HISTORY Date Version Release August 12, 1981 DOS 1. 0 – IBM’s release Used Patterson’s 86 -DOS May 1982 DOS 1. 1 IBM’s release of DOS to handle new double-sided drives August 1982 DOS 1. 25 Microsoft’s own release of DOS 1. 1 March 1983 DOS 2. 0 for IBM’s PC-XT Support 10 MB hard drives, 3 -internal expansion slots, hierarchical tree structure
![DEVELOPMENTS cont. Date Version Release March 1984 DOS 2. 1 IBM’s release Handled hardware DEVELOPMENTS cont. Date Version Release March 1984 DOS 2. 1 IBM’s release Handled hardware](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-6.jpg)
DEVELOPMENTS cont. Date Version Release March 1984 DOS 2. 1 IBM’s release Handled hardware errors called PCjr 1984 DOS 2. 11 Microsoft’s release Added international time, date, currency, and keyboard support. 1984 DOS 3. 0 for IBM’s 16 -bit PC-AT system Support 1. 2 MB diskettes and hard drives over 10 MB. Designed by Microsoft to support IBM network hardware November 1984 DOS 3. 1 Provided better aliasing – made DOS treat directories as drives. Handled network hardware
![DEVELOPMENTS cont. Date January 1986 Version Release DOS 3. 2 Introduced and provided support DEVELOPMENTS cont. Date January 1986 Version Release DOS 3. 2 Introduced and provided support](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-7.jpg)
DEVELOPMENTS cont. Date January 1986 Version Release DOS 3. 2 Introduced and provided support of 31/2 floppies and 720 K disk April 1987 DOS 3. 3 IBM’s release FDISK can be used to create 32 MB or smaller logical drives from extended partitions 1987 DOS 3. 30 Compaq’s release Support 1. 44 MB diskettes and multiple 32 MB disk partitions DOS 3. 31 Compaq’s release Support drives greater than 32 MB November 1987
![DEVELOPMENTS cont. Date Version Release July 1988 DOS 4. 0 IBM’s release Added a DEVELOPMENTS cont. Date Version Release July 1988 DOS 4. 0 IBM’s release Added a](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-8.jpg)
DEVELOPMENTS cont. Date Version Release July 1988 DOS 4. 0 IBM’s release Added a DOS Shell interface and support for disk partitions greater than 32 MB. Provided support for mouse and graphical interfaces. Novem DOS 4. 01 - Fixed bugs introduced in 4. 0 ber 1988 June 1991 MS-DOS 5. 0 Microsoft’s release Allowed DOS to reside in area above 640 K memory. Provided support for loading device drivers. Provided an improved DOS Shell March 1993 DOS 6. 0 Microsoft’s release Introduced Double. Space disk compression
![DEVELOPMENTS cont. Date November 1993 February 1994 June 1994 April 1995 August 1995 Version DEVELOPMENTS cont. Date November 1993 February 1994 June 1994 April 1995 August 1995 Version](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-9.jpg)
DEVELOPMENTS cont. Date November 1993 February 1994 June 1994 April 1995 August 1995 Version Release DOS 6. 2 Microsoft’s release DOS 6. 21 Microsoft’s release Removed Double. Space disk compression DOS 6. 22 Microsoft’s release Introduced “Drive. Space” disk compression DOS 7. 0 IBM’s release DOS 7. 0 Microsoft's release
![Basic Structure • • • Most DOS commands use the same structure Command Source Basic Structure • • • Most DOS commands use the same structure Command Source](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-10.jpg)
Basic Structure • • • Most DOS commands use the same structure Command Source Destination /Switch The switch will give options to the command Example COPY A: file. txt c: /v /v will verify if the file copied correctly
![MS-DOS Prompt • The prompt in MS-DOS displays your current directory • C: doscommands> MS-DOS Prompt • The prompt in MS-DOS displays your current directory • C: doscommands>](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-11.jpg)
MS-DOS Prompt • The prompt in MS-DOS displays your current directory • C: doscommands> means you are in that directory, and any command you use will apply to the current directory unless you specify a different one.
![DOS Naming • The file name cannot be longer then 8 characters, and extensions DOS Naming • The file name cannot be longer then 8 characters, and extensions](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-12.jpg)
DOS Naming • The file name cannot be longer then 8 characters, and extensions cannot be longer then 3 characters. • Characters like * + = | [ ] : ; “ < > , ? / cannot be used in DOS names.
![Wildcard characters • Wildcard character will replace a single letter, or word with a Wildcard characters • Wildcard character will replace a single letter, or word with a](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-13.jpg)
Wildcard characters • Wildcard character will replace a single letter, or word with a wild character • * will replace any amput of characters, and ? Will replace one. • Example: copy a: /*. txt c: / will copy all text files to drive c: / • Example 2: copy a: /? ? ? . txt c: / will copy any 5 letter text file to c: /
![Basic Commands CD • CD- Change directory • You use this command when you Basic Commands CD • CD- Change directory • You use this command when you](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-14.jpg)
Basic Commands CD • CD- Change directory • You use this command when you want to change the directory. • Example: CD C: DOS will bring you to the dos folder
![Basic Commands CD. . • CD. . - brings you to the previous directory. Basic Commands CD. . • CD. . - brings you to the previous directory.](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-15.jpg)
Basic Commands CD. . • CD. . - brings you to the previous directory. • Example: if you are in C: DOSFOLDER CD. . Will bring you to C: DOS
![Basic Commands COPY • COPY will copy the file from one location to another Basic Commands COPY • COPY will copy the file from one location to another](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-16.jpg)
Basic Commands COPY • COPY will copy the file from one location to another • Example COPY A: file. txt c: will copy the file from a: to c:
![Basic Command XCOPY • XCOPY can move files, directories, and whole drives from one Basic Command XCOPY • XCOPY can move files, directories, and whole drives from one](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-17.jpg)
Basic Command XCOPY • XCOPY can move files, directories, and whole drives from one location to another, It is more powerful then the copy command, and has a lot of switches.
![Basic Commands DIR • DIR will display the contents of the folder Basic Commands DIR • DIR will display the contents of the folder](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-18.jpg)
Basic Commands DIR • DIR will display the contents of the folder
![Basic Command DEL • DEL will delete a file or an empty directory from Basic Command DEL • DEL will delete a file or an empty directory from](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-19.jpg)
Basic Command DEL • DEL will delete a file or an empty directory from the drive
![Basic Command EDIT • EDIT will open a text file Basic Command EDIT • EDIT will open a text file](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-20.jpg)
Basic Command EDIT • EDIT will open a text file
![Basic Commands MOVE • MOVE will move the file or directory from one location Basic Commands MOVE • MOVE will move the file or directory from one location](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-21.jpg)
Basic Commands MOVE • MOVE will move the file or directory from one location to another • Example: MOVE a: file. txt c: file. txt will move the file to the c: drive
![Basic Commands REN • REN will rename the file • Example : REN file. Basic Commands REN • REN will rename the file • Example : REN file.](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-22.jpg)
Basic Commands REN • REN will rename the file • Example : REN file. txt myfile. txt will rename the file. txt to myfile. txt
![Basic Commands MD • MD is used to make a directory (folder) in MS-DOS. Basic Commands MD • MD is used to make a directory (folder) in MS-DOS.](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-23.jpg)
Basic Commands MD • MD is used to make a directory (folder) in MS-DOS. • Example: MD myfolder will make a folder called myfolder in current directory
![Basic Commands DELTREE • DELTREE command will delete the folder and all of its Basic Commands DELTREE • DELTREE command will delete the folder and all of its](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-24.jpg)
Basic Commands DELTREE • DELTREE command will delete the folder and all of its contents, including other folders. • Example: DELTREE C: myfolder will delete the folder and all the contents.
![Basic Command TREE • TREE shows you all of the folders and files in Basic Command TREE • TREE shows you all of the folders and files in](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-25.jpg)
Basic Command TREE • TREE shows you all of the folders and files in current directory like explorer in windows.
![Basic Commands CLS • CLS Will clear the contents of the screen Basic Commands CLS • CLS Will clear the contents of the screen](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-26.jpg)
Basic Commands CLS • CLS Will clear the contents of the screen
![Attributes • Attributes are the properties of a file such as hidden, read-only, archive Attributes • Attributes are the properties of a file such as hidden, read-only, archive](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-27.jpg)
Attributes • Attributes are the properties of a file such as hidden, read-only, archive or system file. • In MS-DOS you can view/change attributes with the attrib command. • Example: attrib +r file. txt will make the file read-only.
![The Help Switch /? • You can use the help switch with any command. The Help Switch /? • You can use the help switch with any command.](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-28.jpg)
The Help Switch /? • You can use the help switch with any command. It will give you the command structure, and the availible switches.
![DOS Internal Structure • The structure of Disk Operating System for IBM PC-compatible computers DOS Internal Structure • The structure of Disk Operating System for IBM PC-compatible computers](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-29.jpg)
DOS Internal Structure • The structure of Disk Operating System for IBM PC-compatible computers can be broken down into four distinct components: • BIOS Module • Kernel • Command Processor • External Commands
![• The BIOS Module • • • The BIOS module includes the default • The BIOS Module • • • The BIOS module includes the default](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-30.jpg)
• The BIOS Module • • • The BIOS module includes the default resident drivers for: Console display and keyboard (CON) Line printer (PRN) Auxiliary device (AUX) Date and time (CLOCK) Boot disk device (block device) It also accomodates installable drivers (DEVICE=commands in CONFIG. SYS), such as: MOUSE. SYS ANSI. SYS 386 EMM. SYS CLOCK. SYS, etc.
![The DOS Kernel • • The DOS Kernel performs the following functions: File and The DOS Kernel • • The DOS Kernel performs the following functions: File and](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-31.jpg)
The DOS Kernel • • The DOS Kernel performs the following functions: File and record management Memory management Character device input/output Spawning other programs Access to real-time clock The DOS kernel components are contained in the MSDOS. SYS (or IBMDOS. COM) system file. Programs communicate with the kernel via software interrupts.
![The Command Processor • The command processor is also known as the shell, or The Command Processor • The command processor is also known as the shell, or](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-32.jpg)
The Command Processor • The command processor is also known as the shell, or the command interpreter. • The command processor is responsible for parsing and carrying out user commands, including the loading and execution of other programs from disk • The command processor also includes the code for many of the most commonly-used DOS commands, known as the internal commands.
![• Thank You • Thank You](http://slidetodoc.com/presentation_image_h/e2b82caa17935954061456e2d307dafe/image-33.jpg)
• Thank You
- Slides: 33