Here is an example of the input file:
\\server1\D$\accounting\users
\\server1\D$\finance\users
\\server2\E$\corporate\users
\\server2\E$\tech\users
I really appreciate your help! | [reply] |
Find A Share size in Win2k discusses getting the size of a share, but is applicable to any directory structure on Win32. Look at BrowserUK's solution using the FileSystemObject. FSO is a thin wrapper around the Win32 API calls. It should be quite a bit faster than File::Find.HTH
| [reply] |
I will take a step back and say that speeding this up may be hard, I thought you were doing this find on the local filesystem. Your slownedd issue is because you are doing this over the network (CIFS). I will take a moment and look through your code to see where the cutoff is heppening though.
-Waswas
| [reply] |