Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find file
Message
From
13/06/2006 02:46:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Jet/Access Engine
Miscellaneous
Thread ID:
01128527
Message ID:
01128596
Views:
26
>as I can look for a file that is in my hard disk? I don't know the subdirectorio level in which is

Hi Francisco,

You can have look at XDIR download#25487

Among other things, there is also search file function implemented
that creates cursor with all files found along given path or disc drive.
set procedure to ....\xdir.prg additive

nFiles = FileSearch( 'NotePad.exe' , 'C:\' )
                    * Search File ,  Path       
if nFiles > 0 
  browse normal
endif          
                
Example given here will search your entire C: drive looking for notepad program and store results in cursor.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform