Title: Micro Op SYS (DOS)
1Micro Op SYS (DOS)
- Chapters 8, 10, 12, 13, 14
2DOS Commands
- DEFRAG
- SCANDISK
- MSAV
- MSBACKUP
3DOS Commands (cont)
4Types of RAM Memory
- Conventional Memory
- 0K to 640K
- Everything must run in conventional memory
- Upper Memory
- 640K to 1MB (1024K)
- Device drivers and BIOS
- Extended Memory
- Above 1MB
5HIMEM.SYS and EMM386.EXE
- Contain in the CONFIG.SYS file
- devicec\dos\himem.sys
- This allows the usage above conventional memory
- Devicec\dos\emm386.exe
- This manages items in upper memory
- Must come after HIMEM.SYS
6Loading Items in Memory
- DEVICE
- Loads a driver into conventional memory
- devicec\mouse.sys
- DEVICEHIGH
- Loads a driver into upper memory
- devicehighc\mouse.sys
- DOSHIGH
- Loads DOS into extended memory
7DOS Commands
- MEM
- /C what is running in conventional memory
- Memmaker
8Batch Files
- Group of commands that the computer automatically
executes as a set - Similar to a program
- Must popular batch file is the AUTOEXEC.BAT
- Executed each time DOS starts
9Batch file Commands
- REM
- Allows you to make comments inside the batch file
that will not be executed - PAUSE
- Temporarily halts execution of a batch file
- Message appears after this is executed saying
Press any key when ready
10Batch file Commands (cont)
- ECHO
- Lets the computer know if to just execute command
or to execute and display command - _at_ECHO OFF just execute
- _at_ECHO ON execute and display
- Also allows for messages to be printed
- ECHO This is a test
- This is a test
- ECHO
- Gives a blank line
11Create a Batch File
- EDIT filename.bat
- To move around the screen, you have to use the
arrow keys - To access the menu at the top, press the ALT key
and then the appropriate arrow keys
12Special DOS commands inside Batch Files
- GOTO
- Allows you to skip DOS commands
- CHOICE
- Allows you to pick from a menu
- choice /C123E /N Choose a menu option
- /c tells the computer to have options. If /c
is not used, then CHOICE uses Y/N - /n do not display the options after the
statement - IF ERRORLEVEL number
- Evaluates as true when the previously executed
batch file command has an error condition equal
to or greater than the number - if errorlevel 1 goto end
13_at_ECHO OFFSTARTCLSECHO ECHO Main MenuECHO
ECHO 1. Word ProcessingECHO 2.
SpreadsheetsECHO 3. DatabaseECHO ECHO
CHOICE /C123E Choose a menu optionIF
ERRORLEVEL 4 GOTO ENDIF ERRORLEVEL 3 GOTO DBIF
ERRORLEVEL 2 GOTO SSIF ERRORLEVEL 1 GOTO WPGOTO
ENDDBCD\DBASEDBASEGOTO STARTSS
CD\LOTUS123GOTO STARTWPCD\WP51WPGOTO
STARTEND
14Main Menu1. Word Processing2. Spreadsheets3.
DatabaseChoose a menu option 123E
15PROJECT