Newbie question
I need to strip out the main root from the directory path.
I use this to get the path:
(setq dfil (getfiled "Directory listing" "" "dwg" 2))
(setq Filepath (vl-filename-directory dfil))
This returns for example: "C:\\Blocks\\2dlib\\Cars\\Plan"
How do I turn the above result into: "2dlib\Cars\Plan"
stripping out "C:\\Blocks\\" and only 1 backslash between directories?
"C:\\Blocks\\2dlib\\Trees\\Plan" > "2dlib\Trees\Plan"
"C:\\Blocks\\2dlib\\People" > "2dlib\\People"
Many thanks
Zakwaan