|
Also known as the full path, the absolute
path is a path that contains the root
directory and all other sub
directories required to get into the directory you're
currently in or wish to get to. Below is a basic example of a generic path and an
absolute path.
Absolute path:
/home/users/c/computerhope/public_html/cgi-bin
Non absolute path (relative path):
public_html/cgi-bin
As can be seen from the above example, the absolute path
contains the full path instead of a few directories
contained within the absolute path. Below are some
additional examples.
Example 2
Absolute path:
C:\Windows\calc.exe
Non absolute path (relative path):
calc.exe
Example 3
Absolute path:
http://www.computerhope.com/oh.htm
Non absolute path (relative path):
oh.htm
Also see: Path,
Relative path
|