How to get a relative path from an absolute path, for example. convert 'C: \ absolute \ path \ file.ext' to 'path'?
Thank you for your attention
edit: I would like to recursively scan a directory for a specific file type, and then create symbolic links for these folders containing this file type. symbolic links should be referred to as a directory containing the file type.
source share