VBS – Check Folder/File size

Below is an example off a VBS script to monitor the size of a directory or a file. If the size is larger then the size specified it will mail a message with a warning.

Script to monitor a folder:

 

Script to monitor a file:

 

Or download the files here:

Leave a Reply

Your email address will not be published. Required fields are marked *