Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Size
Message
De
12/06/2002 13:20:49
Dave Nantais
Light speed database solutions
Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00667491
Message ID:
00667515
Vues:
31
>>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
is there a way to turn on intellisense for the WSH object?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform