Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Get the size of a directory
Message
De
29/04/2003 16:44:06
Fabian Belo
Independent Developer
Argentine
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00782908
Message ID:
00782917
Vues:
14
loFSO=createobject('scripting.filesystemobject')
loFolder=loFSO.GetFolder('z:\yourdir')
? loFolder.Size

>Hi!!!
>
>I have a little problem, i need get the size of a diretory, like if a right click in the explorer an select propertys, a use the object Filer, of the dll filer.dll, but this have a lot of troubles, the first trouble is that object is very slow, in the directory with too many files, the time for calculate the full size, is real big, the second trouble is that exist a diferent between the fuction result's and the property of the file explorer, somebody now ease way to get th size of directory, can help.
"Since I've read that alcohol is bad... I quit reading."
Me


http://www.fabianbelo.com.ar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform