Relative Path
noun
say it: “REL-uh-tiv path” /ˈrɛlətɪv pæθ/
A file's address given from the current folder, such as data/books.csv, not from the top of the drive.
What is a Relative Path?
A relative path is where the path of a resource is defined in relation to the current working directory. This concept is used both when dealing with an operating system, or when working with web applications.
- Windows/Mac/Unix/Linux:
cd ../demo - Web:
<img src="../images/logo.jpg" alt="logo">
In a sentence
- “Using the relative path data/books.csv, the program works on any computer.”
Level: Novice · More Operating System terms at this level
Updated