Hi All

I apologise as this post is v.basic for the most of you but I was
wodnering whether anyone could spare some time to help me.

All I want is some vb script that I can use to search local hard
drives for particluar kinds of files, ie pst files.

So basically what I want is a recursive loop that finds whatever file
type I have specified and then output the size of that file to a text
file I have created.

If anyone can help I'd very grateful.

Kind Regards

Ryan

Re: vb script to search c drive for particluar file types by Adam

Adam
Fri Jul 27 09:46:36 CDT 2007

On Jul 27, 1:46 pm, rhino...@gmail.com wrote:
> Hi All
>
> I apologise as this post is v.basic for the most of you but I was
> wodnering whether anyone could spare some time to help me.
>
> All I want is some vb script that I can use to search local hard
> drives for particluar kinds of files, ie pst files.
>
> So basically what I want is a recursive loop that finds whatever file
> type I have specified and then output the size of that file to a text
> file I have created.
>
> If anyone can help I'd very grateful.
>
> Kind Regards
>
> Ryan

This example is specific to a file type but you should be able to
change it to meet your needs. The example demonstrates recursion and
that's the important part:

http://www.microsoft.com/technet/scriptcenter/resources/qanda/jun07/hey0608.mspx