What is relative and absolute path ?can someone help me | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

What is relative and absolute path ?can someone help me

25th Dec 2017, 12:31 PM
Aditya
Aditya - avatar
2 Antworten
+ 6
Absolute path is used to point to a resource using a complete path specification, including protocol, domain, and optionally port. Relative path is used to point to a resource using the current path as its base, its usage is more common to point to a resource that resides in the same domain. The relative path usually does not require as strict specification as it does the absolute path. More about this you can read on the following link: https://www.w3schools.com/html/html_filepaths.asp Hth, cmiiw
25th Dec 2017, 12:47 PM
Ipang
0
Absolute paths would start out with your hard drive name and work there way to the file: e.g. C:Documents/Files/Subfiles/file.fil or if using a different system, like online: http://www.Documents.com/Files/Subfiles/file.fil Whereas the relative path would be in relation to the folder in which your document, script, or program is stored: e.g. Subfiles/file.fil or file.fil (if both are stored in the exact some file folder)
12th Jan 2018, 5:28 PM
Reginald Welkin