However it is not a com check it is an external error level check. It works as so

modifiedtime.exe <full_path_and_File_Name> TIME

The time is in minutes by design. It returns various error levels. 0-if ok
1-if too old
2-if file does not exist
3-unknown checking error
4-command line is incorrect


Jason Passow
Mississippi Welders Supply
[EMAIL PROTECTED]
ph: (507) 494-5178
fax: (507) 454-8104

"If you do everything right, nobody will realize you've done anything at all."



Jason Passow wrote:
I have a little VB executable that will check the date and time and alert if it is older than a certain number of minutes

Jason Passow
Mississippi Welders Supply
[EMAIL PROTECTED]
ph: (507) 494-5178
fax: (507) 454-8104

"If you do everything right, nobody will realize you've done anything at all."



Barron,Joseph wrote:

I use forfiles.exe from within a batch file that is used as an errorlevel check by Servers Alive to perform some of the items you mention in #2 below. Not as fancy as an external COM check, but it gets the job done.

I think it is somewhere in all the recent resource kits, but if you google a bit you can get the executable various places online. (Or I'll be happy to email it to you if you can accept attachments.)

Here's a bit of info regarding what it does. http://home.earthlink.net/~rlively/MANUALS/COMMANDS/F/FORFILES.HTM <http://home.earthlink.net/%7Erlively/MANUALS/COMMANDS/F/FORFILES.HTM>


-----Original Message-----
From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 11:38 AM
To: [email protected]
Subject: RE: [SA-list] Enhancements?


2) I do recall this too however can't remember who that was....if he/she is
still on the list...please make yourself known to us :-)

-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Greg A Weigold
Sent: Thursday, November 10, 2005 5:28 PM
To: [email protected]
Subject: [SA-list] Enhancements?


2) I need a check for file date/time stamps...  A way to check how old a
file is; is it dated today or not; is it more than 1 hour old, etc.
According to the archives someone wrote an external COM check for this...



***********************************************************************
The information contained in this email and any attachments may be confidential and is provided solely for the use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any disclosure, distribution, or use of this e-mail, its attachments or any information contained therein is unauthorised and prohibited. If you have received this in error, please contact the sender immediately and delete this e-mail and any attachments.

No responsibility is accepted for any virus or defect that might arise from opening this e-mail or attachments, whether or not it has been checked by anti-virus software.
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
  unsubscribe SAlive

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
  unsubscribe SAlive

Reply via email to