Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search for a file
Message
From
29/06/1999 14:57:22
 
 
To
29/06/1999 14:48:58
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235414
Message ID:
00235416
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform