The File System
What it is?
In a computer, a file system (sometimes written filesystem) is the way in which files are named and where they are placed logically for storage and retrieval.
The File System in each Operating System
DOS, Windows, OS/2, Macintosh and Unix-based operating systems (OSes) all have file systems in which files are placed somewhere in a hierarchical tree structure.
File pathes
In most operating systems and file systems, a route can be expressed in relative or absolute form.
In most operating systems and file systems, a route can be expressed in relative or absolute form.
- An absolute or full path points to the same location in a file system, regardless of the current working directory. To do that, it must include the root directory.
- By contrast, a relative path starts from some given working directory, avoiding the need to provide the full absolute path. A filename can be considered as a relative path based at the current working directory. If the working directory is not the file's parent directory, a file not found error will result if the file is addressed by its name.