Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: mohammed qasem
  Where is mohammed qasem?
 amman
 Jordan
 mohammed qasem
 Tags
Subject: RE: search
Thread ID: 233284 Message ID: 233286 # Views: 44 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, July 01, 2009 8:10:27 AM         
   


> hi all,
>
> i need help to search data (at any PC) as below and if fond make new folder and insert this data with full path ,
>
>
> DIMENSION laFiles(....)
> laFiles[1] = ".dbf"
> laFiles[2] = ".mdb"
> laFiles[3] = ".ora"
> laFiles[4] = ".db"
> laFiles[5] = ".mdf"
> laFiles[6] = "doc"
> laFiles[7] = "xls"
>
> FOR x = 1 TO ALEN(laFiles)
>
> if found()
>

You can use ADir() for that one, see Help.

> make new folder(found)

See MD / MkDir in Help.

> append this data

See Copy File in Help.

In addition, you might want to go to Foxite -> Home -> Search, and search for "filer"



hth
-Stefan



COMPLETE THREAD
search Posted by mohammed qasem @ 7/1/2009 8:00:22 AM
RE: search Posted by Stefan Wuebbe @ 7/1/2009 8:10:27 AM