1) create a text file containing the fully qualified file name of mailbox file(s) you want to convert. The easiest way to do this is with the command:
C:\> DIR C:\IMAIL\*.BOX /S/B > C:\IMAIL\BOXLIST.TXT
The contents of BOXLIST.TXT will look something like this:
D:\imail\USERS\BUD\Declude.mbx D:\imail\USERS\BUD\Drafts.mbx D:\imail\USERS\BUD\IMail.mbx D:\imail\USERS\BUD\main.mbx D:\imail\USERS\BUD\trash.mbx
2) Run the MBOX2MSG program file, with redirected input from the file you just created:
C:\> MBOX2MSG < C:\IMAIL\BOXLIST.TXT
Substitute drive letters & path names as appropriate for your environment.
After the program is done, the contents of the directory will look something like this:
C:\> DIR C:\IMAIL\USERS\BUD
Directory of c:\imail\users\bud
10/13/2003 11:28 AM <DIR> . 10/13/2003 11:28 AM <DIR> .. 10/13/2003 10:06 AM 81,143,731 main.mbx 10/13/2003 11:26 AM 2,725 main_00001.MSG 10/13/2003 11:26 AM 2,220 main_00002.MSG 10/13/2003 11:26 AM 2,870 main_00003.MSG 10/13/2003 11:26 AM 3,016 main_00004.MSG 10/13/2003 11:26 AM 2,113 main_00005.MSG 10/13/2003 11:26 AM 3,120 main_00006.MSG 10/13/2003 11:26 AM 4,073 main_00007.MSG 10/13/2003 11:26 AM 3,632 main_00008.MSG 10/13/2003 11:26 AM 2,615 main_00009.MSG
I'll admit that I've not spent a great deal of time wringing this out, but from what I could see it's doing what it should. Let me know if there's any problems.
In a couple days I'll get around to posting this on my web site (with better docs & etc), and will post the link here.
-- ------------------------------------------------------------------- illigitimi non carborundum ------------------------------------------------------------------- Bud Durland, CNE Mold-Rite Plastics Network Administrator http://www.mrpcap.com -------------------------------------------------------------------
MBOX2MSG.zip
Description: Zip compressed data
