Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search for a file
Message
De
29/06/1999 14:57:22
 
 
À
29/06/1999 14:48:58
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00235414
Message ID:
00235416
Vues:
17
>hello all!
>
>I would like to know how i do to dicover the path for a file, where i have only the name from file, by sample i would like to know where is filename.xxx, but i don´t know what is your folder.
>

You could search for it from the root recursively using something like ADIR(), driling down through the file system until it is found.

If you know a relative path for the file (ie FILE(cFileName) returns .T.), you can retrieve the fully-qualified pathname using FULLPATH(cFileName).
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