Ahankhah Posted April 23, 2011 Share Posted April 23, 2011 :)Hello everyone, I need to romove some empty directories via autolisp code. Is there any way? Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
pBe Posted April 23, 2011 Share Posted April 23, 2011 :)Hello everyone,I need to romove some empty directories via autolisp code. Is there any way? Any help is appreciated. (defun delFolder (folder) (vl-load-com) (setq fso (vlax-create-object "Scripting.FileSystemObject")) (vlax-invoke-method fso 'DeleteFolder folder :vlax-false) (vlax-release-object fso) ) (DELFOLDER "D:\\xxxx") Quote Link to comment Share on other sites More sharing options...
Ahankhah Posted April 23, 2011 Author Share Posted April 23, 2011 pBe, thank you very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.