Kevin O\'Shea wrote: > Does anyone know of a quick way to get the size of a directory in > FoxPro? I have come across a few ways to loop through the files in > directories and subdirectories and tally up the size, but there must be > a quick way to get the directory size?! >
oFs = createobject("Scripting.FileSystemObject") oDir = ofs.GetFolder("C:\\windows") ?odir.Size
HTH
Jaime Vasquez.
©2006 Jaime Vasquez |