vbs script to list files in a directory and email results

S

systemtek

Hi.

Been trying to write something with out any luck. Im looking for a
script that will look in a given directory (i.e. c:\mydata) and e-mail
details of what files are in that directory, the details needed are
file names, date modified and size.

Anyone got any sample scripts ?

Thanks
 

My Computer

P

Pegasus [MVP]

"systemtek" <[email protected]> wrote in message
news:[email protected]

> Hi.
>
> Been trying to write something with out any luck. Im looking for a
> script that will look in a given directory (i.e. c:\mydata) and e-mail
> details of what files are in that directory, the details needed are
> file names, date modified and size.
>
> Anyone got any sample scripts ?
>
> Thanks
Let's have a look at what you've go so far. Alternatively, if you are not
familiar with VB Scripts, consider using this batch file:
@echo off
dir "c:\MyData" > c:\Dir.txt
blat c:\Dir.txt . . .

You can download blat.exe from a number of sites.
 

My Computer

Top