Lesson 2 of 3 · Computer Basics · 3 min read · Updated
Files and folders
Where your work actually lives, why a path is just an address, and how to stop losing things.
In the last lesson, storage was the step that keeps a result. A file is one unit of that storage — a photo, a document, a song. A folder (also called a directory) is a container that holds files and other folders.
That is the whole idea. The difficulty people have is never the concept — it is losing track of where a file went.
A path is an address
Every file has an address that says exactly where it sits. That address is called a path, and you read it left to right, from the widest container inwards — exactly like a postal address read backwards.
C:\Users\Priya\Documents\resume.pdf
/home/priya/documents/resume.pdf
drive or root -> user -> folder -> file name . type
Reading a path, part by part
-
The root
The widest container — the starting point everything else sits inside. On Windows this is a drive like C:; elsewhere it is simply /.
-
The user
Your own area of the computer. Each person who uses the machine gets one, which is why your files stay separate from everyone else’s.
-
The folder
A container you made to group related things. There can be many levels of these, each one inside the last.
-
The file name
The name you gave it. This is the part you choose — and the part worth choosing well.
-
The extension
The letters after the last dot. They tell the computer which program should open the file.
Step 1 of 5
The separator differs — Windows uses \, everything else uses / — but the structure is identical. If you can read one, you can read the other.
The extension tells you the type
The letters after the last dot — .pdf, .jpg, .xlsx — are the file extension. It tells the computer which program should open the file. Renaming song.mp3 to song.pdf does not turn it into a document; it just confuses the computer about who should open it.
Note
Name files so that the name alone tells you what it is and when: resume-priya-2026-03.pdf beats final2.pdf every time. Your future self is the person you are helping.
In the path /home/priya/documents/resume.pdf, what is documents?
Try this now
- Open your file manager and find one file you made this week.
- Look at the address bar — that is its path. Read it out from left to right.
- Rename it so the name says what it is and when you made it.
Create a free account to save your progress, or sign in.