Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Size
Message
 
 
À
12/06/2002 12:46:20
Issam Mansour
Jordan Business Machines
Amman, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00667491
Message ID:
00667507
Vues:
15
>Hi,
>
>Is there a way to get file size and folder size.
>
>
You can use WSH
oFso = CreateObject("Scripting.FileSystemObject")
cFileName = "myfile.txt"
oFile = oFso.GetFile(cFileName)
? oFile.Size
cFolderName = "C:\myfolder\"
oFolder = oFso.GetFolder(cFolderName)
? ofolder.Size
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform