Lesson Notes — File Paths, File Extensions, and Disk Storage
Course 1: Computer Literacy / Unit 3: Operating Systems & File Management / Lesson 2: File Paths, File Extensions, and Disk Storage
Lesson overview
Every file on a computer has a name, a type, and a location. When you can read those three things, you can find any file and know what program should open it.
File extensions
A file extension is the short ending after the dot in a file name. It tells the computer what kind of file it is.
| Extension | Type of file |
|---|---|
| .docx | Word document |
| .xlsx | Excel spreadsheet |
| Portable document | |
| .jpg or .png | Image |
| .mp3 | Audio |
| .mp4 | Video |
| .zip | Compressed folder |
Renaming photo.png to photo.jpg does not convert it. To change the format, you have to open the file in a program and save or export it as the new type.
File paths
A file path is the address of a file. It lists the folders you pass through to reach it.
- The root directory is the top of the structure, such as
C:\on a Windows computer. - Each folder inside another is a subfolder.
- An absolute path starts at the root:
C:\Users\Sam\Documents\Essay.docx. - A relative path starts from where you already are. If you are in the Documents folder, it is just
Essay.docx.
Disk storage
- A storage volume is a drive or a section of a drive that the computer treats as one place.
- Disks store data in small pieces called sectors.
- Formatting prepares a drive to store files. It usually erases what is on it, so check before you format.
- Metadata is information about a file, such as when it was created, its size, and its author.
Check your understanding
- What does the extension
.pdftell you about a file? - Write the folder that holds
C:\Users\Sam\Documents\Essay.docx. - Why is it risky to format a drive without checking what is on it?
Use this lesson’s Key Terms page to build your glossary.