Notes
Outline
Booting PC’s and MS DOS
Booting the PC
Switch On
Power to Motherboard
ROM Chips do POST
I/O Set up
System seeks MBR (Boot sector)
PUTS data there in RAM
System gets additional Operating System files as told by MBR
DOS BOOT
MBR Found and as above seconday loader put in RAM
Secondary Loader moves IO.SYS and MSDOS.SYS into memory from HD
DOS checks for CONFIG.SYS
IF FOUND system reconfigured as told
DOS Loads COMMAND.COM
Checks for AUTOEXEC.BAT in root
IF Found command.com carries out commands included.
IF Not Found Command.com displays date and time prompts.
Config.sys  Adds Drivers
DEVICE=C:\WINDOWS\HIMEM.SYS
DOS=HIGH, UMB
DEVICE = EMM386.EXE NOEMS
DEVICEHIGH=C:\DOS\SETVER.EXE
STACKS=9,256
rem DEVICEHIGH = C:\DOS\ANSI.SYS
FILES=99
DEVICE=C:\MTM\MTMCDAI.SYS /D:MTMIDE01
DEVICE=aspippa3.SYS
rem means comment..above for zip drive
Autoexec.bat Carries out Commands
C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MTMIDE01 /M:10 /L:F
ECHO OFF
PROMPT $p$g
PATH A:\;C:\WINDOWS;C:\;c:\DOS
loadhigh C:\WINDOWS\mouse.COM /Y
guest
Common DOS Commands
DOS Syntax includes a Command, a space, a from, a space, and a to, or a where, a space, and optionally a / and a switch
Format A:\  Formats a Floppy A:\ is the what
Format A:\ /S  Formats and puts operating system files on the floppy
/S is a DOS Switch.  It adds the operating system to the disk
A Switch Modifies a DOS Command
CHKDSK C:  Checks and Repairs HD and tells condition, size and available room
CHKDSK C: /F
Chkdsk Switch to fix lost chains
CHKDSK
Fix Disk
Check Capacity & Room
Check RAM
ATTRIB COMMAND
ATTRIB A:
Shows hidden files
Changes attributes of files
System
Hidden
Read Only
Archive
PATH
Sets the places where DOS looks for command files
PATH=C:\;C:\DOS
Each separate path is separated by a ;
Usually put in autoexec.bat
Without path must specify files  location
E.G:
 C:\DOS\FORMAT A:
RMDIR and DELTREE
RM C:\DOCS   or RMDIR C:\DOCS
Removes the indicated directory
The directory must be empty of files first
Easy way is to DEL C:\DOCS\*.* first
DELTREE C:\DOCS
Removes the directory and files
Also removes any subdirectories!
Dangerous if not used properly!
REN or RENAME
REN myfile.bak newfile.tem
Can rename a file to a new name!
REN C:\DOCS\LETTER.DOC LETTER2
SYNTAX
REN old file spec space new file spec
TREE
TREE C:\DOS
TREE A:\
Shows structure of indicated path
Syntax
TREE space DISK and/or DIRECTORY