To Temple College Class  logo R. Craig Collins > ITSC 1305> Lab 3

Lab 3 © R. Craig Collins, 2005/6

See Chapter 9

General Lab Directions
Note: There is not enough time in lecture to cover all the material; read your book BEFORE you begin the lab
Note: Typically labs will require you to invest some time in the lab, outside of class lecture hours

 •Check with the Instructor for the due date
 •Document the required steps/commands/tags before you start, 30%
 •Successful completion of activity, 40%
 •Hands On, 30%

Use your book to document terms.
Optionally, you may print this document.
Right click here, then choose Save Target as... to save in the Lab3 folder. Suggest you save this as yourname-lab3.rtf
Open Wordpad, then open yourname-lab3.rft

At the end of this process, you will be turning in answers using the Quizzes area of Desire2Learn, based on the following questions. So, to get the best score, fill in all the answers in this document first.

RD
What does the command do?
What is the syntax for the command? (Syntax does not include specific drives or directories)
Are there any common parameters mentioned in class? List them
Write out one example of how the command was entered into DOS in this lab

DELTREE
What does the command do?
What is the syntax for the command? (Syntax does not include specific drives or directories)
Are there any common parameters mentioned in class? List them
Write out one example of how the command was entered into DOS in this lab

PROMPT
What does the command do?
What is the syntax for the command? (Syntax does not include specific drives or directories)
Are there any common parameters mentioned in class? List them
Write out one example of how the command was entered into DOS in this lab

PATH
What does the command do?
What is the syntax for the command? (Syntax does not include specific drives or directories)
Are there any common parameters mentioned in class? List them
Write out one example of how the command was entered into DOS in this lab

ECHO
What does this BATCH file command do?
@ECHO OFF What is displayed?
ECHO OFF What is displayed after the line is processed?
ECHO ON What is displayed after the line is processed?
ECHO Message What is displayed?

PAUSE
What does this BATCH file command do?
What is displayed?

REM
What does this BATCH file command do?
What is displayed?

DOS Activity

(Examples use A:\, modify accordingly if not using A:\)
Manually create a directory named lab3 off the root
md a:\lab3
cd a:\lab3


Using EDIT, create a batch file named setpromt.bat in lab3 that does the following
(edit a:\lab3\setpromt.bat)

Using EDIT, create another batch file named mymove.bat in a:\lab3 that does the following

No dropbox for this lab… ALL the points come from the quiz.
(You will match your batch file to one of several versions in the quiz)

Video available You may watch a short video on how Lab 3 is done...

Hands On:
Answer the following questions

  1. The actual command is tree.com, not tree. So, if presented an instruction DOS automatically tests to see if the instruction ends with what three extensions?
  2. What is a batch file? A series of _______ commands executed in order, from a plain ________ document whose extension is .____
  3. Where is the prompt and path typically set? What file?
  4. What is the typical Prompt statement?
  5. What is the typical PATH statement?

You will then transfer your answers to the D2L Quiz for lab 3.
Choose the Quizzes menu, and locate Lab 3.


This section is NOT a part of the lab, but fun to try if you have ANSI.SYS or ANSI.COM on your floppy: (WILL NOT WORK IN WINDOWS)
@echo off
ansi.com
PROMPT $e[1m$e[K$_$e[1;44m*$e[0m$e[K$e[1;41mßß$e[0m $e[1;37m $h$p$e[1;37m $g$e[1;37m

*   
        
A:\> 


ß is made using [Alt]225
Get ansi.com


for Labs that require files to be electronically submitted
 • select all the files required, or better, select the folder that contains all the files
 • zip the required file(s) and/or folder(s)
 • rename the zipped file to reflect your name and the lab being turned in
       •Example: yourname-lab1 or yourname-lab1.zip (if your extensions are visible)
       (For additional help on selecting, zipping, or renaming files, see Windows Crash Course)

 If submitting by Temple College Desire2Learn:
       •Log into D2L, scroll to the bottom, and choose the correct course
       •When the Course Home Page appears, click on the desired tool link.
       D2L navigation D2L Dropbox notes D2L Quizzes Notes D2L Discussion Notes
       eLearning Tour; elearning Tour Tutorial on Discussions; eLearning Tour Tutorial on Dropbox; eLearning Tour Tutorial on Quizzes
Dropbox directions