Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI
I'm trying to copy the folder with a Ribbonmenu from one place to another (simulating a user making update).
But i get nil, i think because AutoCAD is still open and of the .dll files.
Is there a possibility to know why it gets nil?
I use the Lee Mac function for copy the folder:
(defun LM:copyfolder ( src des ) (vl-mkdir des) (apply 'and (append (mapcar (function (lambda ( file ) (vl-file-copy (strcat src "\\" file) (strcat des "\\" file)) ) ) (vl-directory-files src nil 1) ) (mapcar (function (lambda ( dir ) (LM:copyfolder (strcat src "\\" dir) (strcat des "\\" dir)) ) ) (vl-remove "." (vl-remove ".." (vl-directory-files src nil -1))) ) ) ) )
Thank you
Solved! Go to Solution.