Changes

Jump to: navigation, search
Relative Pathnames
<table align="right"><tr><td>[[Image:relative-pathname-1.png|thumb|right|250px|Directories in red display the path from the current directory location (which is '''xyz100''') to the '''bin''' directory (i.e. the relative pathname: '''../../../bin'''.]]</td><td>[[Image:relative-pathname-2.png|thumb|right|250px|Directories in red display the path from the current directory location (which is '''uli101''') to the '''examples''' directory (i.e. the relative pathname: '''uli101/examples''' or ./uli101/examples]]</td></tr></table>
A relative pathname is a path to a file or directory that begins from your '''current''' directory. This is called relative because it is used to locate a specific file relative to your current directory.
 
 
''Relative Pathname Symbols:''
 
:'''.''' The period "." represents the current directory
:'''..''' Two periods ".." represents the parent directory
''Advantages of using Relative Pathnames:''
:* Useful if you do not know your current directory locationx:* Easier to understand the FULL layout of pathnamex
13,420
edits

Navigation menu