1 / 22

Chapter 3 Using Hard Disks

Chapter 3 Using Hard Disks. Page 55. Terms and Concepts. Hard Disks Directories Tree-Structured directory Root Directory Create and Manage directories MD, CD, RD, PATH, APPEND and TREE. Objectives. Use the MD command & specify paths Describe the directory tree structure

tekli
Download Presentation

Chapter 3 Using Hard Disks

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. Chapter 3Using Hard Disks Page 55

  2. Terms and Concepts • Hard Disks • Directories • Tree-Structured directory • Root Directory • Create and Manage directories • MD, CD, RD, PATH, APPEND and TREE Chapter 3 (22 slides)

  3. Objectives • Use the MD command & specify paths • Describe the directory tree structure • Use the CD command & change directories • Know the six commands for hard disk usage: MD, CD, RD, PATH, APPEND and TREE Chapter 3 (22 slides)

  4. Hard Disk Storage • A hard disk is a special type of disk storage device that can store very large amounts of data. • Useful commands starting with DOS 2.0 and later deal with large capacities. • New commands provide a way to organize data Chapter 3 (22 slides)

  5. Using DOS Directories • Upside-down tree • Tree-structured directory system • Top is called the root • Rest of directories thought of being under the root • Naming directories is the same as files • “Prompt” indicates current directory Chapter 3 (22 slides)

  6. Using DOS Directories • PROMPT command syntax? • Special file called AUTOEXEC.BAT and is activated each time the computer is started. More in Chapter 5 Chapter 3 (22 slides)

  7. Tryout: Creating Directories (Page 57) • Change to hard disk drive (P:) • p: • Change to root directory • cd \ • Make a directory called words • md words • Make another directory called sales • md sales Chapter 3 (22 slides)

  8. Tryout: Creating Directories • Make a directory called old under sales • md p:\sales\old • Make another directory called new • mkdir p:\sales\new • Check the root directory • dir • Check the sales directory • dir p:\sales Chapter 3 (22 slides)

  9. Special Hard Disk Usage Commands • MD Internal Make a directory • CD Internal Change directory • RD Internal Remove directory • TREE External Display directories • PATH Internal Search directories programs • APPEND External Search directories files • Knowing these commands is very important when using hard disks Chapter 3 (22 slides)

  10. MD (MKDIR) Type: Internal Command Syntax: MD (MKDIR) [d:][path]directoryname The MKDIR command is used to create and name a new directory. The new directory can be within the root directory or any existing directory. You can use either the MD or MKDIR form of the command. Chapter 3 (22 slides)

  11. CD (CHDIR) Type: Internal Command Syntax: CD (CHDIR) [d:]path Use the CD command to change from one directory to another. You can use either the CD or CHDIR form of this command. Chapter 3 (22 slides)

  12. Tryout: Changing Directories (Page 60) • Change to the sales directory • cd \sales • Change to the new directory (relative) • cd new • Change to the new directory (absolute) • cd \sales\new • Display the NEW directory contents • dir • Change back to the parent directory • cd .. Chapter 3 (22 slides)

  13. RD (RMDIR) Type: Internal Command Syntax: RD (RMDIR) [d:](path)directoryname The RD command is used to remove a directory. Chapter 3 (22 slides)

  14. Tryout: Removing a Directory (Page 61) • Change to the parent directory first • cd \sales • Display contents • dir • Attempt to remove the new directory • rd new • What would happen if “new” contained files? Chapter 3 (22 slides)

  15. PATH Type: Internal Command Syntax: PATH [d:]path[;]path[d:][...] or PATH ; The PATH command tells DOS where to look on the disk to find programs. It is especially useful when you have created a number of directories on a hard disk. Chapter 3 (22 slides)

  16. APPEND Type: External Command Syntax: APPEND /X(:on off)][/path(:on|off)][/E] or APPEND [d:]path[;][d:]path[...] or APPEND ; Use this command to tell DOS where to search for data files. This command is similar to the PATH command that tells DOS where to search for program files. (.COM, .EXE or .BAT) The APPEND command guides the search pattern for filenames, regardless of the filename extension. Chapter 3 (22 slides)

  17. APPEND Parameters: /E make part of DOS environment /X(:on|off) append search to PATH ON or OFF turns search on or off /path(:on|off) specify data files or program files Chapter 3 (22 slides)

  18. TREE Type: External Command Syntax: TREE [d:] [/A][/F] Use the TREE command to display the current status of your directories. Chapter 3 (22 slides)

  19. Tryout: Use the TREE command (Page 65) • tree p:\ Chapter 3 (22 slides)

  20. Setting-Up a Hard Disk • Before a hard disk can be used it must be prepared to accept data. • 1. Low-Level Format • This is a process that divides the tracks of the disk into the individual sectors that will eventually hold data. • 2. Partitioning the Disk • Single or more physical disks? • 3. High-level Format • Final step in preparing a disk for use • Places the proper disk file structure on partition Chapter 3 (22 slides)

  21. Summary • Learned about hard disks and directories • Tree-structure disk structure • Root directory • MD (Make Directory) • CD (Change Directory) • RD (Remove Directory) • PATH (Program/executable files) • APPEND (Data file search path) • TREE (Display current status of Directory) Chapter 3 (22 slides)

  22. Chapter 3 Assessments • Canvas (before class meets): • Pre Class Homework Questions • In-Class Lab Assignment 3 • Canvas (end of class time): • Windows/DOS Quiz 3 Chapter 3 (22 slides)

More Related