Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more!
X
I would like to throw a message when an author closes Editor if a particular directory is not empty. Ideally, I would test and response() in ACL. Does ACL have any native commands that will test for directory emptiness? I can't find one and, frankly, am not sure I think it *should* be possible.
Try calling glob("your path here/*",A) where A is an empty array and see if you get 0 back as the return from glob. One of the odder functions, shows ACL's roots in Perl.
John Dreystadt Software Development Director Arbortext - PTC 734-352-2835 -