>> Why make delete empty folder? And subfolder? > do(if(not file.listfiles(?"C:\path",1),?'file.deletenorecycle(?"C:\path")'))
That deletes c:\path if it is empty. ------------------------------------------------------------------------ To delete empty subfolders in c:\path file.allfiles(?"C:\path", ?'do(if(not file.listfiles(_file_,1),"file.delete(_file_)"))',5) [thanks to Sean] ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
