How do i obtain the relative path from an absolute path, e.g. convert 'C:\absolute\path\file.ext' to 'path'?
Thanks for your consideration
edit: i'd like to recursivly scan a directory for a certain filetype and then create symlinks for these folders containing this filetype. the symlinks should be named like the directory containing the filetype.
absolute\name
seems to be an equally valid result. It's the path relative to the root directory, whilepath
is the path relative to `C:\absolute`. Or did you mean the name of the parent directory? – Iceblink