If you are calling this from a batch file you could make the
username a parameter and do something like this.

if not exist d:\imail\users\%1\main.mbx goto GONE
rd d:\imail\users\%1 /y
goto SUCCESS
:GONE
echo User folder not present
goto END
:SUCESS
echo User folder safely deleted
:END

You might also throw something in there to look for .del files
and delete them also.

Dusty

---------- Original Message ----------------------------------
From: "Dan Nguyen" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Fri, 24 Sep 1999 17:33:03 -0700

>Dusty,

I remember either you or someone has done this.  I have a script which
automatically remove list of email uses who are no longer in our system.  I
was able to do this b/c I configured Imail to use external database
(Access).  But their mail folders are still there after I've removed their
account.   I am looking for something that will do this job automatically.

thanks in advance,

Dan

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to