Professional Documents
Culture Documents
CCS0001L
(INTRODUCTION TO
COMPUTING)
EXERCISE
5
OPERATING SYSTEMS
(MS DOS Commands and MS Windows
Basic Operations)
Student Name /
Group Name:
Name Role
Members (if
Group):
Section:
Professor:
On the other hand, many of you may not have spent very much time at the
Windows Command Line. Some of you may think it’s obsolete. Command line
interfaces are still with us and are likely to remain for quite some time.
This lab activity will help you become more familiar with the Windows operating
system environment. It will also help you learn and understand MS DOS
commands needed to perform specific tasks using the Command Line Interface.
3. Creating a new folder [hint: right click > new > folder]
5. Finding how to find Windows help [hint: click on Windows Start button,
and then type Get Help, look for any help topic]
1. Open Windows Explorer then right click on the This PC from the left
pane and then click on Properties. Note down the specifications of the
PC you are working on.
md c:\new
The cd\ command takes you back to the root directory of the current
drive. As shown below, if you were in the same \Windows\System32
directory and typed the cd\ command, it would take you to the C:\
The contents of the file can be anything you want. When finished,
save the file by holding down the ALT and f keys at the same time.
This activates the file menu. Press the X key to select Exit and Y to
save the file you just edited..
type c:\new\utility\dejavu.txt
4. Type cls [clear screen] to remove the clutter of old commands from
your screen any time you want to.
dir c:\new
7. Now use the xcopy command to copy the contents of the stuff
directory to the letters directory. Check for syntax help to do this with
a single command.
xcopy c:\new\data\stuff
8. In this step you will use the fc [file compare] command to compare one
of the copies to its original file. Type the following:
fc c:\new\utility\hello.txt f:\new\data\stuff\hello.txt
9. Use the move command to move a file from the stuff directory to the
data directory by typing:
rd c:\new\utility
rd c:\new\data\letters /s
del c:\new\data\hello.txt
14. Protect your file so that nobody can edit it. Type:
attrib c:\new\utility\goodbye.txt +r
Make sure you are at the root directory of what you just
created (c:\new).
Type tree /f (this shows the directory tree with the files included)
Now click on the icon in the top left corner of the window. Choose
edit / select all / <enter> .
16. Once your activity has been submitted, remove your folder by
typing
rd c:\new /s
Windows 10 pro
4. What is the CPU name and the clock speed of the CPU?
None
7. Does the computer have a network adapter? If yes provide the complete
details.
8. Write the DOS command to display a wide listing of the contents of the
root directory of the F: drive.
No F: drive
Dir *M
11. Write the DOS command to display all files on drive C whose filenames
begin with the letter A and whose extensions begin with the letter C.
Dir C * .S
12. Write the DOS command to display the files on drive C: that have
the .DOC filename extension.
*.DOC
14. Write the DOS command to rename all the files on drive A which have
the .HTML filename extension to have the .HTM filename extension.
16. Write the DOS command to copy a file named MYFILE1 and name the
new copy MYFILE2.
17. Write the DOS command to erase a file named MYFILE1 which is stored
in the sub-directory named MYFILES located at the root of drive C.
del C:\MYFILE\MYFILE1.txt
18. Write the DOS command to return you to the root of drive C if your
current directory is C:\FIT \CCS001
cd\
19. Write the DOS command to erase all the files on drive C:
del *
20. Write the DOS command to delete a subdirectory named FIT which is
located at the root of drive C.
VIII. REFERENCES
Docter, Q., Dulaney, E., & Skandier, T. (2016). CompTIA + Complete Study
Guide (3rd Edition)
Meyers, M. (2016). All In One CompTIA A+ Certification. Mc Graw Hill.
Pearson. (2016). Introduction to Computers and Information Technology.
Upper Saddle River, NJ: Pearson.
Tavani, H. T. (2016). Ethics and Technology. Wiley.
White, R. (2015). How Computer Work: The Evolution of Technology. IN: Que.