@echo off
cd "imailspooldirectory"
copy "filetomove" "wheredoyouwanttomoveitto"
del "filetomove"

There are also date variable you can use and so forth.

John Tolmachoff
Engineer/Consultant/Owner
eServices For You


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:IMail_Forum-
> [EMAIL PROTECTED] On Behalf Of Keith Johnson
> Sent: Saturday, November 01, 2003 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [IMail Forum] Spool Cleaning
> 
> I have been using the Imail utility isplcln for a long time.  However, I
> am attempting to keep a weeks worth of logs (both Imail and Declude) but I
> want to keep them away from the spool directory.  For example, possibly
> keep just three days in the spool directory, but each night run some batch
> file that moves prior logs out of the spool directory to a stored
> directory.  Has anyone come across such a batch file to move log files
> based on some incrementing date pattern.  Thanks for the aid.
> 
> Keith Johnson
> N' rzm Ãr(.+ XXmÈR +rzm       ÃVry& )W XÒ*l+\â&  WZ mÅ
> 
> ""Ì\Èoìh 1


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to