1 / 15

Micro Op SYS (DOS)

Micro Op SYS (DOS). Chapters 8, 10, 12, 13, 14. DOS Commands. DEFRAG SCANDISK MSAV MSBACKUP. DOS Commands (cont). FDISK MSD SYS. 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

gene
Download Presentation

Micro Op SYS (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. Micro Op SYS (DOS) Chapters 8, 10, 12, 13, 14

  2. DOS Commands • DEFRAG • SCANDISK • MSAV • MSBACKUP

  3. DOS Commands (cont) • FDISK • MSD • SYS

  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. 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. 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. DOS Commands • MEM /C – what is running in conventional memory • Memmaker

  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. 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. 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. 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. 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. @ECHO OFF:STARTCLSECHO :ECHO Main MenuECHO :ECHO 1. Word ProcessingECHO 2. SpreadsheetsECHO 3. DatabaseECHO :ECHO :CHOICE /C:123E Choose a menu option:IF ERRORLEVEL 4 GOTO ENDIF ERRORLEVEL 3 GOTO DBIF ERRORLEVEL 2 GOTO SSIF ERRORLEVEL 1 GOTO WPGOTO END:DBCD\DBASEDBASEGOTO START:SS CD\LOTUS123GOTO START:WPCD\WP51WPGOTO START:END

  14. Main Menu1. Word Processing2. Spreadsheets3. DatabaseChoose a menu option: [123E]

  15. PROJECT

More Related