Checking relative path with the absolute folder path
I have a edit box( editable), where user can provide relative path like (..\..\folder\Ranjitha). I have one Save button. On Click of this button i will get the absolute folder path.
Now my question is how i can check the relative path with the absolute folder path ? I need to provide a check whether the relative path is available or not in the absolute path.