Richard Kaye wrote:
> You could do something similar using ADIR()
> 
> ADIR(aFiles,[*.*])
> x=0
> FOR y=1 TO ALEN(afiles,1)
>     x=x+afiles[y,2]
> NEXT
> ?x

Don't forget to use this technique recursively to account for the size
of subfolders and their subfolders, etc.

I think Calvin Hsia has an example of how to do this on his blog, re:
visually checking disk space usage?

I also believe Chet has some recursive folder walking code up on Ed's
Profox download site.

Malcolm


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to