Presentation is loading. Please wait.

Presentation is loading. Please wait.

Micro Op SYS (DOS) Chapters 8, 10, 12, 13, 14. 2 DOS Commands DEFRAG SCANDISK MSAV MSBACKUP.

Similar presentations


Presentation on theme: "Micro Op SYS (DOS) Chapters 8, 10, 12, 13, 14. 2 DOS Commands DEFRAG SCANDISK MSAV MSBACKUP."— Presentation transcript:

1 Micro Op SYS (DOS) Chapters 8, 10, 12, 13, 14

2 2 DOS Commands DEFRAG SCANDISK MSAV MSBACKUP

3 3 DOS Commands (cont) FDISK MSD SYS

4 4 Types 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

5 5 HIMEM.SYS and EMM386.EXE Contain in the CONFIG.SYS file –device=c:\dos\himem.sys This allows the usage above conventional memory –Device=c:\dos\emm386.exe This manages items in upper memory Must come after HIMEM.SYS

6 6 Loading Items in Memory DEVICE = –Loads a driver into conventional memory device=c:\mouse.sys DEVICEHIGH = –Loads a driver into upper memory devicehigh=c:\mouse.sys DOS=HIGH –Loads DOS into extended memory

7 7 DOS Commands MEM /C – what is running in conventional memory Memmaker

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

9 9 Batch 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…”

10 10 Batch file Commands (cont) ECHO –Lets the computer know if to just execute command or to execute and display command –@ECHO OFF – just execute –@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

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

12 12 Special DOS commands inside Batch Files GOTO –Allows you to skip DOS commands CHOICE –Allows you to pick from a menu –choice /C:123E /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 13 @ECHO OFF :START CLS ECHO : ECHO Main Menu ECHO : ECHO 1. Word Processing ECHO 2. Spreadsheets ECHO 3. Database ECHO : ECHO : CHOICE /C:123E Choose a menu option: IF ERRORLEVEL 4 GOTO END IF ERRORLEVEL 3 GOTO DB IF ERRORLEVEL 2 GOTO SS IF ERRORLEVEL 1 GOTO WP GOTO END :DB CD\DBASE DBASE GOTO START :SS CD\LOTUS 123 GOTO START :WP CD\WP51 WP GOTO START :END

14 14 Main Menu 1. Word Processing 2. Spreadsheets 3. Database Choose a menu option: [123E]

15 PROJECT


Download ppt "Micro Op SYS (DOS) Chapters 8, 10, 12, 13, 14. 2 DOS Commands DEFRAG SCANDISK MSAV MSBACKUP."

Similar presentations


Ads by Google