We have a script that run weekly to clean out that directory.  Works fine
for us.  We had the same issue a while back and created the simple batch
file to take care of it.

Easy script is below.

:: Change to correct directory path below...
del c:\inetpub\mailroot\badmail\*.* /Q


Sincerely,
Grant Griffith
EI8HT LEGS Enhanced Web Management
A Division of ETC
http://www.getafreewebsite.com
877-483-3393

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt
Sent: Wednesday, July 07, 2004 9:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [Declude.JunkMail] OT: How to delete a mass of files on a
Windows drive drive


Well, I gave it about 4 hours to complete a del *.* and it didn't do
it.  This is a MS SMTP Badmail directory and I'm only guessing at the
number of actual files because I can't see into that directory.  I
figured out the naming convention, and by doing a del *1.bad ought to
target exactly 1/48th of the files if I am correct (3 different
extensions and hex naming convention)...but that took 4 minutes to
execute...BUT IT WORKED!  The sad thing is that L0pht could crack
virtually every password on a server in the time it takes to simply
delete a directory full of files :(   RAID would have really helped though.

Sorry Goran, no native deltree in Windows (to my knowledge at least),
but that might have been a good way around it if it didn't have to
enumerate the files, which I think is essentially the same thing as a
*.* within a single directory tree.

I think it's time to see if I can configure MS SMTP on this server not
to store Badmail (it's an ORF gateway).  Hey Scott, is Declude Gateway
1.0 going to get released?

:)

Matt



R. Scott Perry wrote:

>
>> I'm kind of befuddled with this one, but there is a directory on a
>> certain machine that I estimate has about 50,000 or more files on an
>> IDE hard drive and Windows 2003 will hang in Explorer when you try to
>> delete or open the directory from that interface, and I also tried
>> the command window and the DEL command with no luck either.  I get a
>> feeling that it is timing out while enumerating the files and not
>> even starting to delete them.  I tried searching for an answer on
>> Google but couldn't figure out a good phrase to match this
>> condition.  Any help would be appreciated.
>
>
> You might want to try going to a command prompt and typing "del a*.*",
> "del b*.*", etc., until you have it down to a manageable size.  I
> can't guarantee that will work -- but I've encountered even larger
> directories (on Windows 2000, I believe) and doing a directly listing
> from a command prompt would take forever (almost literally -- perhaps
> 30 minutes, so be patient!), but doing "dir a*" type commands would be
> reasonably quick (seconds).
>
>                                                    -Scott
> ---
> Declude JunkMail: The advanced anti-spam solution for IMail
> mailservers since 2000.
> Declude Virus: Ultra reliable virus detection and the leader in
> mailserver vulnerability detection.
> Find out what you've been missing: Ask for a free 30-day evaluation.
>
> ---
> [This E-mail was scanned for viruses by Declude Virus
> (http://www.declude.com)]
>
> ---
> This E-mail came from the Declude.JunkMail mailing list.  To
> unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
> type "unsubscribe Declude.JunkMail".  The archives can be found
> at http://www.mail-archive.com.
>
>

--
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================


---
[This E-mail was scanned for viruses by Declude Virus
(http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to