Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you delete oldest Directories?
Message
From
12/05/2009 16:36:02
 
 
To
12/05/2009 02:36:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01399335
Message ID:
01399483
Views:
60
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform