08-22-2011, 04:04 PM
A full path or absolute path is a path that points to the same location on one file system regardless of the working directory.
Example of a full path:
C:\Program Files\Mercury Interactive\QuickTest Professional\Tests
while
A relative path is a path relative to the current working directory, so the full absolute path may not need to be given.
Example of a relative path: Say your current working directory is QuickTest Professional as shown above so the relative path for the folder Mercury Interactive which is one level up would be ..\..\Mercury Interactive similarly folder which is on same level can be referenced by ..\Some Folder
Example of a full path:
C:\Program Files\Mercury Interactive\QuickTest Professional\Tests
while
A relative path is a path relative to the current working directory, so the full absolute path may not need to be given.
Example of a relative path: Say your current working directory is QuickTest Professional as shown above so the relative path for the folder Mercury Interactive which is one level up would be ..\..\Mercury Interactive similarly folder which is on same level can be referenced by ..\Some Folder