Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path Finding
Message
 
À
27/03/2006 10:34:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01107962
Message ID:
01107976
Vues:
19
I am going to take a step further ... since you mention in your posting that you are looking for a file somewhere on a hard drive, BUT you cite as an example "winword.exe, wordpad.exe" I am thinking that you might be looking for a particular program.

Before you say, "Duh, Art" ... if you are looking for a particular program, then you may not need to search the path.

Just ask Windows to tell you the location of the program that is registered to open files of a particuklar type. For example, if you are looking for "Winword.exe" ask for the program that is associated with "DOC" files.

Is this the case?




>Hi All
>
>Does anyone know of a way to serch All Directories on a drive for a specific
>file and path. IE: winword.exe, wordpad.exe, HH.exe etc. etc. etc.
>
>This is necessary for first time install's to locate and store the path of
>needed functions for use with the new system.
>
>I have tried fullpath() and locfile()
>
>Is there a way use SET PATH TO to allow fullpath to serch the entire disk.
>
>Any Ideas?
>
Terry Mills
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform