Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you delete oldest Directories?
Message
 
À
12/05/2009 02:36:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01399335
Message ID:
01399483
Vues:
61
Thnks again Tore. I seem to have the worst luck with your answers. All what you say is golden - it looks like it should work but alas i get nudda
you suggested:
lnNumDir=adir(laDir,'c:\temp','D')

Here is the exact codes i am using - together with the results of each search: (there are in fact well over 150 directories)

lnNum =adir(ladir,'c:\Temp\post\vault\','D')
? lnnum
FOR nCount = 1 TO lnNum
? laDir(nCount,1)
ENDFOR
RESULTS OF THE SEARCH:
2
.
..

lnNum =adir(ladir,'c:\Temp\post\vault','D')
? lnnum
FOR nCount = 1 TO lnNum
? laDir(nCount,1)
ENDFOR
RESULTS OF THE SEARCH:

1
VAULT

It doesn't seem to want ot count INSIDE the vault directory.

What am i doing wrong here?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform