You could do something like this in VBScript:

 

Dim filesys, demofile, strFileSize

Set filesys = CreateObject("Scripting.FileSystemObject")

Set demofile = filesys.GetFile("c:\TEMP\TEST1.TXT")

strFileSize = demofile.size

WScript.Echo strFileSize

 

 

This would get you the file size. Add code to do something if the file
size is above a certain threshold (e-mail, page, etc.). Then have it run
as a schedule task every few minutes. 

 

 

Chris Bodnar, MCSE
Sr. Systems Engineer
Distributed Systems Service Delivery - Intel Services
Guardian Life Insurance Company of America
Email: [email protected]
Phone: 610-807-6459
Fax: 610-807-6003

  _____  

From: Todd Arnett [mailto:[email protected]] 
Sent: Thursday, March 12, 2009 6:17 PM
To: NT System Admin Issues
Subject: File Size Monitoring Software

 

I am in search of some type of file monitoring software. Ideally, this
software would be able to journal file size and notify select recipients
upon a certain percentage of growth, as well as do reporting.  Any
thoughts,/suggestions?

 

Thanks,

 

Todd Arnett

IT System Administrator

Lastar Inc.

937.224.0639 x338

www.lastar.com <http://www.lastar.com/> 

 

 

 

 

 



-----------------------------------------
This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to