jrtuenge said:
OK, so I lied a little for brevity... I'm actually using Outlook Express
6.
But ideally, this monitoring tool would work for any type of file -- the
user
would just specify the filepath and file size restriction. Does any such
tool exist?
You could use the Task Scheduler to invoke this batch file each time you log
on:
@echo off
set Limit=100
set Filename=d:\Outlook\My Mailbox.pst
for %%a in ("%Filename%") do set Size=%%~za
set Size=%size:~0,-6%
if "%Size%"=="" goto :eof
if %Size% GTR %Limit% (
net start | find /i "messenger" || (
sc.exe config messenger start= demand
net start messenger
)
net send "%UserName%" "Your .PST file is larger than %Limit% MBytes"
)
You must set your own "Limit" (in MBytes) and the full name of your .PST
file. Do not retype this batch file - just copy & paste it.
When the job runs and the .PST file is larger than the specified limit then
you get a popup message.