Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR() takes a long time.......
Message
De
10/02/2005 16:52:39
 
 
À
10/02/2005 14:21:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Divers
Thread ID:
00985702
Message ID:
00985780
Vues:
23
>Hello everyone....
>
>I am executing an ADIR on a directory over the network that contains thousands and thousands of files. Is there a way to get the ADIR to only return files that have been created/modified since a certian date/time? This should help to not put so much demand on the network with the amount of data that is associated with just trying to get a list of files. Any suggestions would be appreciated.
>
>Thanks in Advance,
>Baron

Might be slower but you could try it
lc_file = SYS(2000, '*')
? FDATE(lc_file)
DO WHILE .NOT. EMPTY(lc_file)
   lc_file = SYS(2000, '*', 1)
   IF NOT EMPTY(lc_file)
     ? FDATE(lc_file)
   ENDIF
ENDDO
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform