0% found this document useful (0 votes)
124 views7 pages

CPE0047L - (F1-FORMATIVE) - DOS Commands

This document describes a formative assessment activity on DOS commands. The activity aims to help students learn about DOS history and concepts, and perform file and directory creation and manipulation using DOS commands. Students are instructed to use various DOS commands like TREE, TYPE, CD at the DOS prompt to create files and subdirectories, copy and move files between directories, and view file contents. Screenshots of command outputs are required to demonstrate task completion.

Uploaded by

Michael Lato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views7 pages

CPE0047L - (F1-FORMATIVE) - DOS Commands

This document describes a formative assessment activity on DOS commands. The activity aims to help students learn about DOS history and concepts, and perform file and directory creation and manipulation using DOS commands. Students are instructed to use various DOS commands like TREE, TYPE, CD at the DOS prompt to create files and subdirectories, copy and move files between directories, and view file contents. Screenshots of command outputs are required to demonstrate task completion.

Uploaded by

Michael Lato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

COMPUTER ENGINEERING DEPARTMENT

FORMATIVE ASSESSMENT 1: DOS COMMANDS

1.1 Program Outcomes (POs) Addressed by the Activity


a. ability to design and conduct experiments, as well as to analyze and interpret data
b. ability to identify, formulate, and solve engineering problems
c. ability to use techniques, skills, and modern engineering tools necessary for
engineering practice.
d. knowledge and understanding of engineering and management principles as a
member and leader in a team, to manage projects and in multidisciplinary
environments

1.2 Activity’s Intended Learning Outcomes (AILOs)


At the end of this activity, the student shall be able to:
a. Identify the different DOS commands.
b. Able to perform file and directory creation and manipulation using DOS commands
1.3 Objectives of the Activity
The objectives of this activity are to:
a. Understand the history and concepts of DOS
b. Perform file/directory creation and manipulation using DOS commands

1.4 Principle of the Activity

BASIC INFORMATION

MS-DOS was originally called 86-DOS. It was written by Tim Patterson (considered the
father of DOS) and owned by Seattle Computer Products. Microsoft bought 86-DOS for
$75,000, licensed the software and released it with an IBM PC as MS-DOS 1.0 in 1982.
MS-DOS was originally designed to run on any computer with an Intel 8086 processor,
but the various hardware versions on these computers made compatibility difficult.
As a result, Microsoft provided hardware equipment manufacturers with a development
kit that could be used to tune the MS-DOS operating system for the computer's specific
hardware.
There were many versions of MS-DOS. There were also compatibility issues with MS-
DOS and IBM where some machines were compatible with MS-DOS but not IBM. These
computers could only run programs that were written for MS-DOS and did not depend on any of
IBM's peripheral architecture.

ACTIVITY 1: DOS Commands 1


When you are using a Microsoft MS-DOS command prompt shell window, you can type
the following commands into the window.
cd : Change directory or display current directory path.
cls : Clear the window.
dir : Display list of contents of current directory.
help : Display list of commands or help about a command.
notepad : Run the Windows Notepad text editor.
type : Displays the content of a text file.

Some other useful commands are:


assoc : Displays or modifies filename extension associations.
attrib : Displays or changes file attributes.
chkdsk : Checks a disk and displays a status report.
color : Sets the text and background colors.
comp : Compares the contents of two files or sets of files.
copy : Copies one or more files to another location. See also: xcopy
date : Displays or sets the computer's date. See also: time
del (or erase) : Deletes one or more files.
defrag : Defragment the specified storage device.
doskey : Display command history; define macros.
echo : Displays messages, or turns command echoing on/off.
edit : Runs the MS-DOS text editor. See also: notepad
exit : Closes the MS-DOS window.
fc : Compares two files or sets of files and displays the differences.
find : Searches for a text string in a file or files.
findstr : Search for a regular expression text string in a file or files.
goto : Used in a batch program file to jump to a particular line.
if : Used in a batch program file to perform conditional testing.
md (or mkdir) : Creates a directory.
more : Displays the contents of a file one screen at a time.
move : Moves one or more files from one directory to another directory.
rd (or rmdir) : Removes a directory.
rem : Used in a batch program file to identify comments.
ren (or rename) : Renames a file or files.
sort : Sorts input.
start : Starts a new window to run a specified program or command.
time : Displays or sets the computer's time. See also: date
tree : Graphically displays the directory structure of a drive or directory.
xcopy : Copies files and directory trees. See also: copy

ACTIVITY 1: DOS Commands 2


1.5 Materials/Equipment

1 unit Personal Computer


DOS / Command Prompt
Storage unit

1.6 Circuit Diagrams / Figures / Source Codes (if Applicable)

Figure 1. Title

1.7 Activity Report

Section: Date Performed:


Course Code: Date Submitted:
Course Title:
Instructor:
Student Name: Activity No.:

1.8. Data and Results

Instructions: Perform the task in each number sequentially. Pres Alt + Enter key for full screen
1. Go to MS-DOS prompt.

2. Go to the root directory in your drive C:

3. Create a subdirectory named EXDOS.

4. Make EXDOS your current working directory


5. Create the following subdirectories: fruits, veggies and
meat.
6. Go to subdirectory fruits.
7. Create a text file named banana.txt, apple.txt and
orange.txt. Write a short description about this fruit

ACTIVITY 1: DOS Commands 3


using the copy con command. Ex. Banana is my
favorite fruit.
8. Create subdirectory named vitaminC.

9. Go to veggies subdirectory.
10. Create a text file named saying.txt by typing copy con
command saying.txt. Then type the following:
Ordinary people with some Extraordinary Ideas
accomplished the greatest things in the world.
11. Make EXDOS your current working directory
12. Using one command line, copy all the contents (files
and directory) of fruits subdirectory to meat
subdirectory.
13. Create a file called animal.txt (use copy con
command, type the following: )
Zebra
Goat
Snake
Tiger
Rat
Pig
Horse
Cat (then save your file)
14. Delete the files inside the fruits subdirectory.
15. Move the file animal.txt to meat subdirectory.

Execute the following and provide a screen shot of the output


Screen Shot:

C:\>tree/f EXDOS

C:\>type exdos\meat\apple.txt

ACTIVITY 1: DOS Commands 4


C:\>type exdos\meat\banana.txt

C:\>type exdos\meat\orange.txt

C:\> type exdos\veggies\saying.txt

C:\> type exdos\meat\animal.txt

ACTIVITY 1: DOS Commands 5


1.8.2 Calculations (if applicable)

1.8.3 Observations (if applicable)

__________________________________________________________________

__________________________________________________________________

__________________________________________________________________

__________________________________________________________________

1.8.4 Conclusion/s

__________________________________________________________________

__________________________________________________________________

__________________________________________________________________

1.8.5 Rating (include Rubric)

Criteria Grade

Activity Conduct (1-5)

Correctness of Command(s)/Program(s) (1-5) x 2

Completeness of Tasks (1-5)

Data Analysis and Results Interpretation (1-5)

Total Score

Mean Score = (Total Score / 5)

Percentage Score = (Total Score/25) * 100

ACTIVITY 1: DOS Commands 6


Other Comments:

ACTIVITY 1: DOS Commands 7

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy