in reply to Re: Re: Re: Output isn't complete
in thread Output isn't complete

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!

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Output isn't complete
by jsprat (Curate) on Jul 11, 2003 at 20:00 UTC
    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

Re: Re: Re: Re: Re: Output isn't complete
by waswas-fng (Curate) on Jul 11, 2003 at 19:41 UTC
    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