An absolute and relative path
A file or a folder will have a location in a drive. This location can be specified by path to it.
There could be a full (absolute) path - complete name of the location, or there could be a relative path, destination of that file or folder from the current location.
Why relative path is needed? You can imagine installation of a program that has data files.
Installation location of such an application may vary from system to system. If absolute path is used, then an application will only work in the location for which it was designed. If relative path is used, then an application can be installed anywhere and it still will be working.
Comments
Post a Comment