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.,
See also What Is Relative Path?