DOC PREVIEW
DMC ITSC 1405 - Chapter 10 Introduction to Batch Files

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Instructor: Prof. Michael P. Harris Chapter 10ITSC 1405 – Intro to PC Operating Systems Introduction to BATCH FilesChapter 10Introduction to Batch FilesLEARNING OBJECTIVES1. Compare and contrast batch and interactive processing.2. Explain how batch files work.3. Explain the purpose and function of the REM, ECHO, and PAUSE commands.4. Explain how to stop or interrupt the batch file process.5. Explain the function and use of replaceable parameters in batch files.6. Explain the function of pipes, filters, and redirection in batch files.STUDENT OUTCOMES1. Use Edit to write batch files.2. Use COPY CON to write batch files.3. Write and execute a simple batch file.4. Write a batch file to load an application program.5. Use the REM, PAUSE, and ECHO commands in batch files.6. Terminate a batch file while it is executing.7. Write batch files using replaceable parameters.8. Write a batch file using pipes, filters, and redirection.CHAPTER SUMMARY1. Batch processing means running a series of instructions without interruption.2. Interactive processing allows the user to interface directly with the computer and update records immediately.3. Batch files allow a user to put together a string of commands and execute them with one command.4. Batch files must have the .BAT or .CMD file extension.5. Windows looks first internally for a command, then for a .COM files extension, then for a .EXE file extension, and finally for a .BAT or .CMD file extension.6. Edit is a full-screen text editor used to write batch files.7. A word processor, if it has a means to save files in ASCII, can be used to write batch files. ASCII files are also referred to as unformatted text files.8. Batch files must be in ASCII.9. A quick way to write an ASCII file is to use COPY CON. You copy from the console (CON) to a file.10. Batch files are executed from the system prompt by keying in the batch file name.Carolyn Z. Gillay, Bette A. Peat, Windows XP Command Line Page 1Franklin, Beedle & Associates ©2003 ISBN: 1-887902-82-1Instructor: Prof. Michael P. Harris Chapter 10ITSC 1405 – Intro to PC Operating Systems Introduction to BATCH Files11. Batch files are used for many purposes, such as to save keystrokes.12. To “document” means to explain the purpose a file serves.13. REM allows the user to document a batch file.14. When the operating system sees REM, it displays on the screen whatever text follows REM. REM is not a command that executes.15. ECHO OFF turns off the display of commands. Only the messages from the commands are displayed on the screen.16. PAUSE allows the user to take some action before the batch file continues to execute.17. PAUSE does not force the user to do anything. The batch file just stops running until the user presses a key.18. To stop a batch file from executing, press the <Ctrl> key and the letter C (<Ctrl> + C).19. Replaceable parameters allow the user to write batch files that can be used with many different parameters. The replaceable parameters act as place holders for values that the user will substitute when executing the batch file.20. Replaceable parameters are sometimes called dummy, positional, or substitute parameters.21. The percent sign (%) followed immediately by a numerical value, 0 to 9, indicates a replaceable parameter in a batch file.KEY TERMSbatch filebatch processingdocumenteddummy parameterenvironmental variable interactive processingpositional parameterreplaceable parametersubstitute parametervariableCarolyn Z. Gillay, Bette A. Peat, Windows XP Command Line Page 2Franklin, Beedle & Associates ©2003 ISBN:


View Full Document

DMC ITSC 1405 - Chapter 10 Introduction to Batch Files

Documents in this Course
Firewall

Firewall

53 pages

Syllabus

Syllabus

11 pages

Load more
Download Chapter 10 Introduction to Batch Files
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter 10 Introduction to Batch Files and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter 10 Introduction to Batch Files 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?