• Small comment.

    I really don't like On Error Resume next in any code - I know vbscripts error handling is poor in the extreme, but I'd write any errors to a text file and then (probably separately) mail an administrator the contents of the text file if there were any. That way you get notified if your maintenance is failing.



    Niall Litchfield
    Senior DBA
    http://www.niall.litchfield.dial.pipex.com