Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a File On a Drive
Message
De
18/05/2001 12:36:57
 
 
À
18/05/2001 12:32:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00508805
Message ID:
00508815
Vues:
17
>Is there a way either in VFP6 or VFP7 to determine if a specified file exists on a drive and if so, in which subdirectory? FILE() won't help because it looks only along the VFP path. I am trying to determine if a specified file appears anywhere on a given drive.
> Thanks, Chaim

Can't you use ADIR() to get that info (then search thru the resulting array for the file)?
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform