1 / 18

Chapter 3

Chapter 3. DOS Ruth Watson. Objectives (1 of 2). Explain what DOS is Explain what GUI is Explain what a pipe is Demonstrate how to create a directory structure using DOS commands Demonstrate how to navigate a directory structure using DOS commands

Download Presentation

Chapter 3

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 3 DOS Ruth Watson Operating Systems Concepts 1/e Ruth Watson Chapter 3

  2. Objectives (1 of 2) • Explain what DOS is • Explain what GUI is • Explain what a pipe is • Demonstrate how to create a directory structure using DOS commands • Demonstrate how to navigate a directory structure using DOS commands • Demonstrate how to use the DOS edit program Operating Systems Concepts 1/e Ruth Watson Chapter 3

  3. Objectives (2 of 2) • Explain what the 8.3 naming convention is • Differentiate between copying and moving files • Demonstrate how to use wildcard characters • Demonstrate how to redirect output using DOS commands • Demonstrate how to customize the command window interface • Demonstrate how to write a batch file Operating Systems Concepts 1/e Ruth Watson Chapter 3

  4. Introduction • Technology professionals must have a basic understanding of DOS, including: • Syntax • Paths • Switches • Command line statements • Batch files Operating Systems Concepts 1/e Ruth Watson Chapter 3

  5. Backslash Batch file Clone Forward slash GUI Partition Path Prompt Redirect Root Shell or user interface Standard output Switch Syntax Important Terms to Understand Operating Systems Concepts 1/e Ruth Watson Chapter 3

  6. What DOS is • Disk Operating System (DOS) • Around since the early 1980’s • Command line interface • There are many other command line OS’s, including: • Novell Netware • Unix • Linux • VAX/VMS Operating Systems Concepts 1/e Ruth Watson Chapter 3

  7. Understanding the Syntax Syntax: Rule to follow Command line help |more: Will show help options one screen at a time by using the pipe (|) Syntax: Rule to follow Command line attrib /?: Will tell you more about a command using the /? after the command name Operating Systems Concepts 1/e Ruth Watson Chapter 3

  8. Navigation Using DOS C:\ prompt: Dir/p: Current directory path Start & Accessories Operating Systems Concepts 1/e Ruth Watson Chapter 3

  9. Directory Structure Operating Systems Concepts 1/e Ruth Watson Chapter 3

  10. Directory Structure Continued Operating Systems Concepts 1/e Ruth Watson Chapter 3

  11. Using Wildcard Characters • Use wildcard characters to show multiple files with same name • Type tree.* • all files named tree will appear • Type tree *.* • all possible files will appear • Many uses for wildcards: • Copy all files tree *.* • Delete all files tree *.* Operating Systems Concepts 1/e Ruth Watson Chapter 3

  12. Redirecting Output • Command displays the directory structure of the partition • Don’t forget the pipe (|) • will show screen by screen Operating Systems Concepts 1/e Ruth Watson Chapter 3

  13. Command Windows Interface • Change the look of the command prompt window • Right-click the command line title bar • Options: • Font • Layout • Colors • More Operating Systems Concepts 1/e Ruth Watson Chapter 3

  14. Batch Files • Batch files contain a series of commands that a user might use often • Batch files are saved with a .bat file extension • For example: • Copying files and then delete • Move certain files and then delete • Create directories and then backup certain files Operating Systems Concepts 1/e Ruth Watson Chapter 3

  15. Batch Files Continued .bat file • When the .bat file is double clicked the commands run one at a time. Operating Systems Concepts 1/e Ruth Watson Chapter 3

  16. The True Power of DOS • DOS has been around for a while • professionals still find ways to use DOS • Excellent example: • The teacher creating a batch file to delete all documents placed in a class file as the computer runs • Backing up files using batch files is another great example Operating Systems Concepts 1/e Ruth Watson Chapter 3

  17. Summary • Typical computer users may never need to know DOS • Technology professionals need to know DOS • Understanding syntax, paths, command prompts, and batch files is a must for technology professionals Operating Systems Concepts 1/e Ruth Watson Chapter 3

  18. Questions? Operating Systems Concepts 1/e Ruth Watson Chapter 3

More Related