>- see footer for list info -<
Thanks Peter,

Yea, I had just started to contemplate capturing the output of a native
call.

Testing it now, its still pretty slow, but I guess that it'll probably be
the fastest overall, especially if I write a batch script to count the
number of lines and just return that in the output.

Cheers,
Rich

On 1 July 2010 13:05, Peter Boughton <[email protected]> wrote:

> >- see footer for list info -<
> I guess using the native OS commands is probably fastest.
>
> In Windows that's "dir \b", in everything else it's probably "ls -1"
>
>
> Doing that with cfexecute will give you one big string though, which
> you'd need to do .split('\n') on.
>
> If you're going for speed, probably best to do this whole part in a
> shell/batch script, and just return the number of files at the end.
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to