Michael,
Thanks for the input.  I tested your batch file on my pc (created a blank
main.mbx file and ran the batch), but it only renamed the file to .mbx  The
date was not added.  Any thoughts?

Scott

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Pierce
Sent: Wednesday, February 04, 2004 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [IMail Forum] copy all

Not trying to barge in on someone else's thread but I'm doing the same
thing.

Here is one I use to change the name every day at 11:59pm. 
It just sets it to that days date  "02032004.mbx"
You could also add a line at the end of it to automatically move it over
to your NAS.

"Move "%TODAY%.mbx \\NAS\Mail\storage" or something like that.

Yes I'm aware that I COULD end up with a file in use problem trying to
re-name it while its writing to the file, that hasn't happened yet. But
if it does I'll just let it keep going and run the next day with two
days of mail in it.

:: --------BEGIN TODAY.BAT---------- 
@ECHO OFF 
FOR /F "TOKENS=2-4 DELIMS=/ " %%A IN ('DATE /T') DO (SET
TODAY=%%A%%B%%C) 
rename main.mbx %TODAY%.mbx
:: --------END TODAY.BAT---------- 


Michael Pierce
  
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Len Conrad
Sent: Wednesday, February 04, 2004 9:16 AM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] copy all


>entered a local email address.  Every 6 to 8 weeks, I've been renaming 
>the main.mbx file and moving it to the NAS

You're causing your own problem.

Without changing anything else, rotate the file more frequently.

Len


_____________________________________________________________________
http://MenAndMice.com/DNS-training : Chicago; Wash DC; Atlanta
http://IMGate.MEIway.com : free anti-spam gateway, runs on 1000's of
sites


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/
---
[This E-mail scanned for viruses by Declude Virus on the Orion Medical
Management IMail server]


---
[This E-mail scanned for viruses by Declude Virus on the Orion Medical Management 
IMail server]


----------------------------------

This message is intended for the use of the individual or entity to which it is 
addressed and may contain information that is confidential and privileged and exempt 
from disclosure under applicable law.  If the reader of this message is not the 
intended recipient, you are hereby notified that any dissemination, distribution, or 
copying of the communication is strictly prohibited.  If you have received this 
communication in error, please contact the sender immediately and delete it from your 
system.  Thank you, Orion Medical Management Inc., Radiology Associates of Tampa.

This message has been scanned for viruses by Declude Virus on the Orion Medical 
Management Imail Server.

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