Re: How do I clear out files within a directory? Help with script automation...
From: paul dorn (paul_at_seismicom.net)
Date: 05/05/04
- Previous message: Hugh Cowan: "Hiding Specific Files Only!!!"
- In reply to: Dave Patrick: "Re: How do I clear out files within a directory? Help with script automation..."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 May 2004 15:15:23 -0700
The script that works!!!
rem @echo off
rem ***Remove Quarantine Files***
c:
cd \
cd %ALLUSERSPROFILE%
cd App*
cd Sym*
cd Nor*
cd 7*
cd Qua*
del *.* /Q
Thanks to Bill Sanderson & Dave Patrick for getting me thinking in the right
direction...
Hope this is useful for others...
Paul G. Dorn
"Dave Patrick" <mail@NoSpam.DSPatrick.com> wrote in message
news:O5CN7oiMEHA.1556@TK2MSFTNGP10.phx.gbl...
> This should work;
> del %ALLUSERSPROFILE%\Application Data\Symantec\Norton AntiVirus Corporate
> Edition\7.5\Quarantine\*.*
>
> (note: above is all on one line)
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
>
> "paul dorn" wrote:
> Hello Windows Geeks:
>
> I have a interesting project in mind...I want to setup a script,
preferable
> a batch file to be run at logon, that will clear out the entire contents
on
> a specific directory.
>
> More poignantly, Symantec Anti-Virus software moves infected files into a
> local directory called "Quarantine". Now SAV will continue alerting for
> found viruses on a computer eventhough those files get moved into
> "Quaratine" Also, the more the "Quarantine" directory fills up with files,
> the slower the application will respond when launched, ran, etc...
>
>
> Therefore, Does anyone know of any script diction that would clear out the
> files from
> C:\Documents and Settings\All Users\Application Data\Symantec\Norton
> AntiVirus Corporate Edition\7.5\Quarantine at logon?
>
>
> Best Regards,
> Paul G. Dorn
> Network Administrator
> Seismicom
>
>
> P.S.
> If this is the wrong newsgroup, then tell me where to post this then!
>
>
- Previous message: Hugh Cowan: "Hiding Specific Files Only!!!"
- In reply to: Dave Patrick: "Re: How do I clear out files within a directory? Help with script automation..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|