Hi CFB,
You can cut and paste the following.. and suitable create your function to return the total size..
**********************************************************
*** Instantiate the Filer object
oMyFiler = CREATEOBJECT('Filer.FileUtil')
oMyFiler.SearchPath = 'E:\WINNERS\CMP' && Search Directory
oMyFiler.SubFolder = 1 && includes sub folders
oMyFiler.Find(1) && cumulate sub-folders
LOCAL nSize
nSize = 0
FOR nFileCount = 1 TO oMyFiler.Files.Count
nSize=nSize+oMyFiler.Files.Item(nFileCount).Size && add the size
ENDFOR
? nSize, oMyFiler.Files.Count && display size and count
***********************************************************
Hope this helps you

ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
