[Declude.JunkMail] clean up virus folder
I have more than 800'000 files in the spool/virus folder. I can not delete these files through windows explorer, windows search or whatever because of the huge number of files. Which tool/method can you recommend to delete all these files? Thanks --- 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.
Re: [Declude.JunkMail] clean up virus folder
Hi, How about a simple commandline? C: cd \imail\spool\virus del . Y should bring you a long way. If you want to break it down a bit do "Del a*.*", "Del b*.*", etc. to be able to let the server "get some air" in between. For the future... Here is what I use each night: DTLog is a small program I wrote which prepends each line with a date/time stamp. You need to modify those lines. The batchfile below is based on what someone else submitted here a while ago. --quote rem @Echo Offrem BB 10-mei-2004rem E-mails met virussen niet automatisch verwijderen maar een X aantalrem dagen bewaren. We doen dit door een aantal directories te gebruikenrem en deze steeds verder op te schuiven door de naam te veranderen. Derem oudste directory gooien we weg.SET LOGFILE=C:\Beheer\Logs\Virrot.logSET DTLOG=C:\Beheer\DTLog.exe %DTLOG% %LOGFILE% Rotating virus directories C:cd \IMail\Spool\Virus rem BB 6-dec-2004rem We bewaren nu 7 dagen i.p.v. 5 dagen. If Exist VirusDay7 RD /S /Q VirusDay7IF ErrorLevel 1 Goto ErrDel7Set RotDay=6If Exist VirusDay6 Ren VirusDay6 VirusDay7IF ErrorLevel 1 Goto ErrRotSet RotDay=5If Exist VirusDay5 Ren VirusDay5 VirusDay6IF ErrorLevel 1 Goto ErrRotSet RotDay=4If Exist VirusDay4 Ren VirusDay4 VirusDay5IF ErrorLevel 1 Goto ErrRotSet RotDay=3If Exist VirusDay3 Ren VirusDay3 VirusDay4IF ErrorLevel 1 Goto ErrRotSet RotDay=2If Exist VirusDay2 Ren VirusDay2 VirusDay3IF ErrorLevel 1 Goto ErrRotSet RotDay=1If Exist VirusDay1 Ren VirusDay1 VirusDay2IF ErrorLevel 1 Goto ErrRotMD VirusDay1IF Exist *.SMD Move *.SMD VirusDay1IF ErrorLevel 1 Goto ErrMov1sIF Exist *.GSC Move *.GSC VirusDay1IF ErrorLevel 1 Goto ErrMov1g%DTLOG% %LOGFILE% Rotating VirusDay directories OKDir VirusDay1 Temp1Find "File(s)" Temp1 %LOGFILE%Del Temp1Goto Einde :ErrDel7%DTLOG% %LOGFILE% Error deleting VirusDay7 directory and/or filesGoto einde :ErrRot%DTLOG% %LOGFILE% Error Renaming VirusDay%RotDay% directoryGoto einde :ErrMov1s%DTLOG% %LOGFILE% Error moving SMD files to VirusDay1 directoryDir . /a %LogFile%Goto Einde :ErrMov1g%DTLOG% %LOGFILE% Error moving GSC files to VirusDay1 directoryDir . /a %LogFile%Goto Einde :EindeSET LOGFILE=SET DTLOG=Exit--quote Met vriendelijke groet,Bonno Bloksmahoofd systeembeheer tio hogeschool hotelmanagement en toerisme begijnenhof 8-12 / 5611 el eindhovent 040 296 28 28 / f 040 237 35 20[EMAIL PROTECTED] / www.tio.nl - Original Message - From: netsolution webmaster To: declude.junkmail@declude.com Sent: Tuesday, November 14, 2006 10:24 AM Subject: [Declude.JunkMail] clean up virus folder I have more than 800'000 files in the spool/virus folder.I can not delete these files through windows explorer, windows search or whatever because of the huge number of files.Which tool/method can you recommend to delete all these files?Thanks---This E-mail came from the Declude.JunkMail mailing list. Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail". The archives can be foundat http://www.mail-archive.com. ---This E-mail came from the Declude.JunkMail mailing list. Tounsubscribe, just send an E-mail to [EMAIL PROTECTED], andtype "unsubscribe Declude.JunkMail". The archives can be foundat http://www.mail-archive.com.
Re: [Declude.JunkMail] clean up virus folder
Drop down to the command prompt and delete them that way change to your virus directory and do del /q /s *.smd and let it run... Darrell Check out http://www.invariantsystems.com for utilities for Declude And Imail. IMail/Declude Overflow Queue Monitoring, SURBL/URI integration, MRTG Integration, and Log Parsers. - Original Message - From: netsolution webmaster [EMAIL PROTECTED] To: declude.junkmail@declude.com Sent: Tuesday, November 14, 2006 4:24 AM Subject: [Declude.JunkMail] clean up virus folder I have more than 800'000 files in the spool/virus folder. I can not delete these files through windows explorer, windows search or whatever because of the huge number of files. Which tool/method can you recommend to delete all these files? Thanks --- 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 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.
Re: [Declude.JunkMail] clean up virus folder
That worked - thanks to you and to Bonno Blocksma Darrell ([EMAIL PROTECTED]) schrieb: Drop down to the command prompt and delete them that way change to your virus directory and do del /q /s *.smd and let it run... Darrell Check out http://www.invariantsystems.com for utilities for Declude And Imail. IMail/Declude Overflow Queue Monitoring, SURBL/URI integration, MRTG Integration, and Log Parsers. - Original Message - From: netsolution webmaster [EMAIL PROTECTED] To: declude.junkmail@declude.com Sent: Tuesday, November 14, 2006 4:24 AM Subject: [Declude.JunkMail] clean up virus folder I have more than 800'000 files in the spool/virus folder. I can not delete these files through windows explorer, windows search or whatever because of the huge number of files. Which tool/method can you recommend to delete all these files? Thanks --- 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 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 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.