>Is there a way of getting the size of subdirectories
>
>I tried
>
>Run dir x:\foxdev\* /s >x:\temp\dirsize.txt
>
>but this will not work from within foxpro
>
>any Ideas please
You could use adir(), home()+'tools\filer\filer' (it uses filer.dll), WSH (Scripting.FileSystemObject)'s Getfolder method and size properties.
Cetin