M5 TECHNICAL1 Software Operating System
M5 TECHNICAL1 Software Operating System
CCS0001L
(INTRODUCTION TO COMPUTING)
EXERCISE
5
OPERATING SYSTEMS
(MS DOS Commands and MS Windows Basic Operations)
TB02
Section:
Professor:
Ma’am Lalaine Abad
I. PROGRAM OUTCOME/S (PO) ADDRESSED BY THE LABORATORY EXERCISE
Apply knowledge through the use of current techniques and tools necessary for the IT profession [PO: I]
It is necessary that you are aware of the hardware components of your computer. While the operating system
usually takes care of the complexity of managing the hardware components of your computer system,
knowledge on hardware specifications helps when you have to:
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.
V. LABORATORY ACTIVITY
IMPORTANT NOTE BEFORE DOING THIS ACTIVITY: To ensure safety of your own devices, proceed
to our Information Technology Services Office (ITSO) Virtual Office (you can find it in your dashboard, if
not, you can see it in the Courses page on your Canvas) and request for a remote access to our
computer laboratory facilities. Make sure to type the commands as stated.
1. Copying/ pasting a file [select a file, right click> copy; go to the directory to paste into, right click >
paste]
2. Creating a new file [hint: right click > new > file type]
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.
2. On the properties window, click on Device Manager. Note down all information about hardware
devices.
1. Run your command prompt program. Create a new directory [or folder] by typing the following
command. MD is the command, C: is the drive, and new is the name of the folder. The backslash
[\] indicates that the new folder will be created in the root directory of the c: drive.
md c:\new
acc
3. Now you will create some ASCII text files and save them in the c:\new\utility directory.
Create two more text files in the same directory. Call them goodbye.txt and dejavu.txt.
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
Use the /s switch when you want to view subdirectories. If things just scroll by on the screen, you
can see one screen at a time by adding | more to the end of the command.
Copy the other text files you created into the c:\new\data\stuff directory.
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.
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 c:\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
______________________________________________________________________
_____________________________________________________________________
Note: Just write down your observations and leave the directory unchanged for now.
rd c:\new\data\letters /s
Be careful when using this command. It deletes ALL contents in the directory.
12. Change the name of the hello.txt file by using the ren[ame] command. Type:
13. Delete the file you moved into the data directory. Type:
del c:\new\data\hello.txt
14. Protect your file so that nobody can edit it. Type:
attrib c:\new\utility\goodbye.txt +r
15. Submit a copy of your directory tree to make sure you did the lab correctly. To get a copy of your
directory tree, do the following:
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
F1211-33 ________________________________
4. What is the CPU name and the clock speed of the CPU?
6. Does the computer have a Bluetooth radio? If yes, provide the complete details?
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.
dir c:
9. White the DOS command to display a directory listing of the contents of the root directory of the C:
drive one page at a time.
dir c:/p
10. Write the DOS command to display all the files that begin with the letter "M" in the root directory of
drive C:.
dir c:/ad 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:m*.c
12. Write the DOS command to display the files on drive C: that have the .DOC filename extension.
dir c:/.doc
Mkdir NEWDIR
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.
15. Write the DOS command to change the command prompt to C:\>
cd c:\
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:\MYFILES\MYFILE1
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:
rd c: /s
20. Write the DOS command to delete a subdirectory named FIT which is located at the root of drive C.
R
d c:\FIT /s /q
VII. 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.