Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a secret to using FSIZE() with files?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Is there a secret to using FSIZE() with files?
Divers
Thread ID:
00443388
Message ID:
00443388
Vues:
30
According to the Fox documentation, I should be able to use FSIZE() to return the size of a file in bytes.

But I can't figure out how to get it to work.

For example, I created a file called c:\junk.txt, added some garbage strings to it and closed the file.

Then I tried the following commands:

? fsize("c:\junk.txt")
Returned 0

? fsize("c:\junk.txt",1)
Returned 0

? fsize("junk.txt")
Returned 0

? fsize(junk.txt)
Errored: "Alias 'Junk' not found"

Could one of you please enlighten me?

Thanks!

DJM
David Martin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform