Windows Vista Forums

vbs script to list files in a directory and email results

  1. #1


    systemtek Guest

    vbs script to list files in a directory and email results

    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 System SpecsSystem Spec

  2.   


  3. #2


    Pegasus [MVP] Guest

    Re: vbs script to list files in a directory and email results



    "systemtek" <duncan@newsgroup> wrote in message
    news:8c076e3d-9231-452b-8700-fd6227eb9bc8@newsgroup

    > 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 System SpecsSystem Spec


vbs script to list files in a directory and email results
Similar Threads
Thread Forum
Attach all files in directory to email? VB Script
Script to list open files VB Script
How to list all files under a directory? Vista General
Creating a list of files that have been deleted from or added to a directory PowerShell
rename all files from a directory to a list of files ... PowerShell