Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find path for a file
Message
From
11/07/2001 17:43:25
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00529148
Message ID:
00529464
Views:
13
>mmhh... justPath() returns the path of a given pathname/filename... doesn´t it?
>
>what I want is to retrieve the path of a file that I don´t know where it is...
>i.e. : find Prog.exe file... maybe it's in Program Files\Prog\Prog.exe or maybe in Archivos de Programa\Prog\Prog.exe
>
>so I'd like something like path = findpath("Prog.exe")

You could wind up with a pretty long running process here, if the machine it's running on has a lot of subfolders, etc.

A few more questions:
What are you doing with it once you find it?
How do you get the file name?
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform