Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE_EXISTS() == FCLOSE(FOPEN()) ??
Message
De
06/11/1998 19:42:39
 
 
À
06/11/1998 19:25:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00155434
Message ID:
00155439
Vues:
22
>I was looking for a command to determine the existence of a file in my default directory. Since I couldn't discern anything with that exact purpose I came up with this:
>
>if FCLOSE(FOPEN("MYFILE"))
>
>Anyone have a better way?

IF FILE(".\MYFILE")
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform