Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find size of a text file
Message
 
À
28/02/2000 10:58:29
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338422
Message ID:
00338464
Vues:
11
>>Naturally, the Windows Script Host FileSystemObject can do this as well:
>* lcfile is the fully qualified file name
>loFSO = CREATEOBJECT('Scripting.FileSystemObject')
>loFile = loFSO.GetFile(lcfile)
>? loFile.Size
>
>
>...talk about using tactical nukes to swat a fly...

Well, I wouldn't go that far< g >.

>(although i understand this is a pre-emptive strike towards Ed's post on this thread)

Absolutely! If Ed saw I didn't add this response, I'd get flogged.:-)

On a serious note, this is just part of a continuing effort to make people aware of the power of the WSH. This ain't even the tip of the iceberg.< s >
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform