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?
(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)
I suggest you test your batch file
Example of a test: setpromt.bat is moved from lab3 to the root using
a:\lab3\>mymove a:\lab3\setpromt.bat a:\setpromt.bat
or a:\lab3\>mymove a:\lab3\setpromt.bat a:\lab3bksetpromt.bat
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)
You may watch a short video on how Lab 3 is done...
Hands On:
Answer the following questions
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)
|
1. Choose the class for which you want to drop off an assignment.
2. Find the Dropbox tool, click on it.
3. Choose the appropriate Dropbox folder, click on it.
4. Choose [Add a File], then choose [Browse]; you may need to choose (My) Computer first
5. Find the file that you would like to upload and click open, then choose [Upload]
6. Type in a short description or comment about the file, if you like.
7. Select [Add] for any additional files that may be pertinent, and repeat
8. After your files have been selected, click [Submit]. (To upload and submit you will always click at least twice)
9. Some files may take a long time to upload (especially if there
are graphics in the file).