Objectives
- Navigate Windows: files, Control Panel/Settings, Task Manager.
- Run a small set of Command Prompt commands used in exams (DIR, CD, MD, COPY, TYPE).
Theory: Operating system.
Use Command Prompt on Windows. Do not download unknown tools. Do not attempt to bypass security or other users’ accounts.
Tasks (50 minutes)
- GUI (20 min). Create a folder
IT231-Lab2on the Desktop. Create a text filereadme.txtinside it. Copy it to Documents. Show hidden extensions in File Explorer. Open Task Manager and note CPU and memory use. - Settings (10 min). Find display resolution, date/time, and Wi-Fi (or Ethernet) status. Write them down.
- Command Prompt (20 min). From
IT231-Lab2:dirmkdir backupcopy readme.txt backup\cd backupthendircd ..type readme.txt
Optional (if Command Prompt history is taught): help dir and explain one switch.
Before You Start
- Log in with your own lab account. Do not use or change another user’s account.
- Open Notepad and File Explorer before you start; you will switch between them.
- Know the two ways to open Command Prompt: press Win + R, type
cmd, press Enter; or search “Command Prompt” in Start. - Your Desktop may be inside OneDrive. In that case its path is
%USERPROFILE%\OneDrive\Desktoprather than%USERPROFILE%\Desktop.
Step-by-Step Guide
- Create the folder and file. Right-click the Desktop, choose New → Folder, and name it
IT231-Lab2. Open Notepad, type two lines (your name and today’s date), then File → Save As. Browse intoIT231-Lab2, set Save as type to Text Documents (*.txt), and name the filereadme.txt. - Show file extensions. In File Explorer, Windows 11: View → Show → File name extensions. Windows 10: View tab, tick File name extensions. You should now see
readme.txt, not justreadme. - Copy to Documents. Right-click
readme.txtand choose Copy, open Documents, then right-click and Paste (or use Ctrl + C, Ctrl + V). - Task Manager. Press Ctrl + Shift + Esc. On the Performance tab, note the CPU % and Memory % used. On Processes, note which program uses the most memory.
- Settings. Open Settings (Win + I): System → Display for resolution, Time & language for date and time, Network & internet for connection status.
-
Command Prompt. Move to your folder, then run the commands in order. The expected results are shown after each
:::cd %USERPROFILE%\Desktop\IT231-Lab2 :: prompt now ends in \IT231-Lab2> dir :: lists readme.txt with its size and date mkdir backup :: no message means success copy readme.txt backup\ :: "1 file(s) copied." cd backup :: prompt now ends in \backup> dir :: shows the copied readme.txt cd .. :: back to \IT231-Lab2> type readme.txt :: prints your two lines of text - Explore a switch. Run
dir /?(orhelp dir). Trydir /w(wide list) anddir /o:s(sorted by size), and write one sentence on what each switch does.
Check Your Work
| Checkpoint | How to verify |
|---|---|
| Folder and file | IT231-Lab2\readme.txt exists, and a copy is in Documents |
| Extensions visible | File Explorer shows .txt after the file name |
| Command session | Your screenshot shows every command with its output, including “1 file(s) copied.” |
| System readings | Resolution, date/time, network status, and CPU and memory % are written down |
Common Errors and Fixes
| Problem | Fix |
|---|---|
File saved as readme.txt.txt |
Extensions were hidden when you typed .txt. Show extensions and rename the file to readme.txt. |
| “The system cannot find the path specified.” | Your Desktop is probably inside OneDrive. Use cd %USERPROFILE%\OneDrive\Desktop\IT231-Lab2. |
| “is not recognized as an internal or external command” | Check the spelling, and put a space between the command and its argument (mkdir backup, not mkdirbackup). |
copy reports 0 files copied |
Run dir first: you are probably not in the folder that contains readme.txt. |
Extension Task
For those who finish early: Use ren readme.txt notes.txt to rename the file in backup, then del to delete it, and rmdir backup to remove the empty folder. Explain why rmdir fails if the folder still contains a file.
Deliverable
Screenshot of File Explorer showing IT231-Lab2 and a screenshot of the Command Prompt session (commands + output).
Viva
- What is the difference between a GUI and a command-line interface?
- What does
cd ..do? - Why might a business still teach a few DOS-style commands?
- Where would you look if Windows feels slow?
- What is the difference between
mdandmkdir? - What is the difference between an absolute and a relative path? Give an example of each.
- What does Task Manager’s Processes tab tell you?
- Why are file extensions useful, and why might hiding them be a security risk?

