Search the Community
Showing results for tags 'directories'.
-
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
- 5 replies
-
- folder
- directories
-
(and 1 more)
Tagged with:
-
AutoLISP code needed to remove directories (folders)
Ahankhah posted a topic in AutoLISP, Visual LISP & DCL
:)Hello everyone, I need to romove some empty directories via autolisp code. Is there any way? Any help is appreciated.- 2 replies
-
- directory
- directories
-
(and 1 more)
Tagged with: