Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILE() command slow
Message
De
11/08/2008 15:28:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
FILE() command slow
Divers
Thread ID:
01338142
Message ID:
01338142
Vues:
75
Hi,

I'm looking at a FOXPRO 2.5 program and it has a IF statement checking for FILE() on a network directory which has 97K files and another network directory that has 45K files, so basically something like this

IF NOT FILE('x:\test\cust.dbf') AND NOT FILE('x:\test2\empl.dbf')

but it can take from a minute to 10 minutes to check, is there any other method to speed up the process? I'm thinking there might be some network issues regarding the slowdown also but I'm going to do some time trials using ADIR maybe or some other command that might be faster.

Any ideas?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform