Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Full Drive Directory Listing
Message
 
 
To
15/05/2001 15:57:25
Robert Herrmann
Tx Dept. of Health - Cancer Registry
Austin, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00507479
Message ID:
00507489
Views:
7
>Is there a way to get an entire drive listing with all the files in each directory and have it output to a table where searches can be made for
>duplicate files or files created before a certain date??
>I have an approx. 40 gig network drive that I need to be able to run this search on where it gives the directory that the files are in and a listing
>of all files that have duplicates and are older than a certain date. the search for duplicate records and dates I can do after the drive creation if necessary.. but of course it would be easier if this search can be done as it does the drive listing :) I found the adir() command but it only seems to give a file and dir. listing of that dir. you are currently in and it's not recursive
>like I need it to be.. Any help would be greatly appreciated!
>
>Thanks in advance!

You have to use recursive call of adir command. See this thread Forum: Visual FoxPro Category: Coding, syntax & commands Title: Re: Recursive function for directory read Thread #502783 Message #502851 and the thread, which I mentioned there. BTW, this is an example of recursion :)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform