What Is Absolute Path?

September 18, 2023

An absolute path is the full path to a file or a directory in a filesystem. Depending on the operating system, the absolute path may have different formats. In UNIX-based systems, an absolute path starts with the root directory and lists all the subdirectories, e.g., /home/users/pnap/examples/file.txt. In Windows, an absolute path includes the drive letter alongside the directory and the subdirectories, e.g., C:\pnap\examples\file.txt.

See also What Is Relative Path?


Anastazija
Spasojevic
Anastazija is an experienced content writer with knowledge and passion for cloud computing, information technology, and online security. At phoenixNAP, she focuses on answering burning questions about ensuring data robustness and security for all participants in the digital landscape.