Instructor: Prof. Michael P. Harris Chapter 8

ITSC 1405 – Intro to PC Operating Systems Organizing and Managing Your Hard Drive

Chapter 8

Organizing & Managing Your Hard Disk

LEARNING OBJECTIVES

  1. Explain the purpose of organizing a hard disk.
  2. Explain the purpose and function of the TREE command.
  3. List criteria for organizing a hard disk efficiently and logically.
  4. Explain the role XCOPY can play in organizing a hard disk.
  5. Explain the difference between contiguous and noncontiguous files.
  6. Explain the purpose and function of the CHKDSK command.
  7. Explain lost clusters and cross-linked files.
  8. Explain the ways you can repair a disk.
  9. Explain the purpose and function of using the Disk Defragmenter program.

STUDENT OUTCOMES

  1. Reorganize the DATA disk.
  2. Use the TREE command to view the organization of a disk.
  3. Use the XCOPY command with its parameters to copy files.
  4. Use the CHKDSK command to elicit statistical information about disks and memory.
  5. Interpret the statistical information obtained by using the CHKDSK command.
  6. Use CHKDSK to see if files are contiguous.
  7. Repair a disk, if possible.
  8. Use the Disk Defragmenter utility program.

CHAPTER SUMMARY

  1. All disks should be organized. You should not place all your programs and data in the root directory.
  2. The root directory of a hard disk holds only 512 files if you are using FAT16.
  3. Many users inefficiently organize their disk by application programs. This often leads to a repetition of subdirectory names, forcing users to remember where they placed their files and key in long path names. The operating system must search every subdirectory when accessing a file. It is difficult to add and delete application programs and data files in this scheme.
  4. One way to organize a hard disk is by project.
  1. Some guidelines to organizing a disk:
  2. The root directory is a map to the rest of the disk.
  3. Plan the organization before installing software.
  4. Develop and use a naming convention for files and directories.
  5. Create as many directories/subdirectories as you need before copying files into them.
  6. It is safe to work with data files but dangerous to move or REName program files.
  7. Subdirectories should be shallow and wide.
  8. Do not place data files in program subdirectories.
  9. It is better to have small subdirectories with only a few files.
  10. Keep subdirectory names short and descriptive.
  11. Create a separate subdirectory for batch files and utility programs.
  12. Learn how the install programs work before you install software.
  13. Learn how each application program works.
  14. Analyze the way you work.
  15. If a disk is unorganized, you can organize it by planning it, creating the new organizational scheme and any necessary subdirectories, copying files to the new subdirectories, and deleting those files from the old subdirectories.
  16. The XCOPY command allows you to copy files and the subdirectories beneath them. You may choose:
  17. to copy subdirectories and the files in them (/S).
  18. to keep the read-only attribute (/R).
  19. to copy hidden files (/H).
  20. to create an empty subdirectory (/E
  21. to keep file attributes (/K).
  22. The command line EDITor is a full-screen editor that allows you to modify text files. It is a menu-driven program.
  23. MOVE is used to move files. Although it can rename directories, it is better to use the REN command to rename objects and the MOVE command to move these objects. You must be cautious when you use MOVE to ensure you are performing the task that you wish.
  24. Utility programs include the ones that come with the operating system, such as the external command MOVE.
  25. CHKDSK will search your drives for errors and give you a statistical report on the integrity of your drives.
  26. You can use CHKDSK to check or repair FAT, FAT32, and NTFS drives but it must not be the default drive.
  27. You must not use CHKDSK /F on a network drive or on any SUBST drives or the default drive.
  28. Disk Defragmenter is a program used to optimize performance of a disk by rewriting files so the clusters are contiguous. When files are contiguous, computer performance is enhanced.
  29. You cannot defragment a floppy disk in Windows XP Professional.

KEY TERMS

chain
cross-linked files
disk optimization / fragmented files
lost clusters / naming convention
utility program

Carolyn Z. Gillay, Bette A. Peat, Windows XP Command LinePage 1

Franklin, Beedle & Associates ©2003 ISBN: 1-887902-82-1