Hierarchical File Tree & File Path
A file tree is the hierarchical folder structure on a storage drive starting from a root directory (e.g., C:\ or /) down through nested subfolders. A file path specifies the exact address of a file inside that tree.
How It Works & Why It Matters
Organizing school work into clear folders (such as Grade_7 / Science / Lab1.docx) prevents losing assignments.
Windows paths use backslashes (\), while macOS, Linux, and web URLs use forward slashes (/).
Windows: D:\School\Grade_5\Reports\hardware.docx Web/Unix: /students/grade8/website/images/logo.png
🏫 Classroom Example
When building a Grade 8 HTML5 website, linking "images/logo.png" (relative path) works on any server, whereas "C:\Users\..." breaks online.
⚖️ Absolute Path vs. Relative Path
An absolute path starts from the drive root (C:\... or /...); a relative path navigates from the current working folder.
Using forbidden characters (\ / : * ? " < > |) in Windows filenames or hardcoding local C:\ paths inside web pages.