Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with Files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00696044
Message ID:
00696052
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
Hi,

>1. check if a specific file exists or not.

In addition to what Tracy already suggested, you might also consider to use SYS(2000, "c:\somefile.txt"). The advantage of this function in contrast to FILE() is, that SYS(2000) only looks in the path you specify in the parameter. FILE() looks for the file along the path you've set in VFP with SET PATH TO ...

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform