How to get the total size of a given folder...
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Dec 27, 1998
- 442 views
Use dir. A sequences of sequences will be returned. Each element describes a directory entry. for i = 1 to directory do -- directory = dir() size = size+directory[i][3] -- where size was initialized to 0 end for For each entry, find('d',directory[i]). If not zero, then change to each sub and do it recursively. There are a few kinks, but this should get you started. Its actually not hard. Alan