Search code examples
pathrelative-path

relative paths: difference between "./" and "../" ?


I'm struggling to find the answer of the difference between ./ and ../ in relative paths . I know ../somepath will look in the parent folder, but where do ./somepath and /somepath point at ?


Solution

  • Menu>Inner>Core

    If you are inside Inner folder, ./menu will point to nothing since there is no menu folder inside Inner folder, /core will point to Core folder.