Conditional Batch Commands in DOS
Module Q12cd


Contents
Audience and Objectives
About this document...
Wherever you see this separator line in the document,
clicking on it will return you to the Contents.

Topic 1
Subtopic A
Audience:
This is for people who want to understand batch files with conditional
(IF) structures in DOS. You are expected to understand how simple batch
files work, as disucssed in module Q10cd.
Objectives:
When you successfully complete this lesson, you will be able to...
-
Discuss the DOS conditional (IF) structure
-
Understand how to test for the existence of a file
-
Understand how to test for the existence of command-line parameters
-
Understand how to test for the presence of specific parameter values
-
Understand how to test the return-value of a program

About this document...
Module :
This document is part of a modular instruction series in Computer Information
Systems. For more information, see the overview
or the list of modules in this series,Q-Modules: Operating
Systems. This document has been used in the following classes: CIS
290 Microcomputer System Support.
-
Author:
-
Laurence
J. Krieg
-
Institution:
- Department
of Computer Information Systems, Washtenaw
Community College
-
History:
-
Original: 23 Feb 1998
-
Copyright:
-
Copyright © 1998, Laurence J. Krieg.
Instructors: You may point to this file in your Web-based materials.
Students: you may make a copy for your personal use.
All other uses: contact the author, Laurence
J. Krieg for permission.