Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetFolder().SubFolders limitations

Status
Not open for further replies.

Geates

Programmer
Aug 25, 2009
1,566
US
For the past 2 years, our logon script has been auditing user logons in the form of text files stored at \\server\computer_name\user_name\date_time.txt - there are more than 1.25 million audits in 50,000 folders. I modified the way we audit logons to a DB solution. I'd like the import these files into the DB but it seems as though .SubFolders can only collect so much of the directory structure as the import "finished" before it had even reached the half-way point.

Is there a way to filter against what .SubFolders collects BEFORE it collects?

-Geates

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding
 
If your problem is still unsolved, I suggest posting some relevant code. Otherwise we would just be guessing.
 
presuming you are saying
\\server\ share has 50,000 subfolders, but
Set objFolder = FSO.GetFolder(\\server\share).SubFolders.Count is not giving you 50,000?
I presume you have 50,000 computers? i doubt you have had 50,000 users log on to one specific computer...

I Hear, I Forget
I See, I Remember
I Do, I Understand

Ronald McDonald
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top