ollie Posted December 15, 2008 Posted December 15, 2008 Hi folks I need to gather all the file names in a directory and all it's subdirectories. i foun a piece of code online that works great with one exception the .foundfile.count is at 902 which is no where near where it should be is there any limits to this method? any thoughts would be appreciated cheers Ollie Quote
rocheey Posted December 16, 2008 Posted December 16, 2008 Hi folksthe .foundfile.count is at 902 which is no where near where it should be Ollie without even looking at the code, general eperience says look at the filename extensions - or lack thereof. Do you have files with *no* extensions? Many routines Ive seen do not take that into account. How about hidden files? Without taking into account the file attributes, many files wont return as part of the count. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.