Rick, You could just run 2 separate batch files, and target the batch files to run against the 2 directories in question...
Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Baranowski Sent: Monday, November 03, 2003 6:18 PM To: [EMAIL PROTECTED] Subject: RE: [IMail Forum] Spool Cleaning We have several folders in the spool directory and we need to only run this on two of the three directories. We have tried the batch that Jason posted with the -r0 switch but it keeps taking files out of all of the directories. Does anybody know a way to do this? Thanks Rick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jason Newland Sent: Saturday, November 01, 2003 3:32 PM To: [EMAIL PROTECTED] Subject: RE: [IMail Forum] Spool Cleaning We use winrar for archiving log files. Here is the batch file we use. C:\Progra~1\WinRAR\rar a -df -m5 -to6d "c:\old logs\spool.rar" c:\imail\spool\*.* This batch file removes files out of the spool directory and compresses them into spool.rar (it then deletes the originals) Jason -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Johnson Sent: Saturday, November 01, 2003 2: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/ 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/ 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/
