RE: reg: trace files

Thanks Ananth..

 

I tried doing it with single line command:

 

forfiles -p C:\abc -s -m *.* -d -30 -c "cmd /c del /q @FILE"

 

Regards

Mamta

 

________________________________

From: ora-apps-dba-bounce@xxxxxxxxxxxxx
[mailto:ora-apps-dba-bounce@xxxxxxxxxxxxx] On Behalf Of Shastry(DBA)
Sent: Monday, 15 December 2008 23:18
To: ora-apps-dba@xxxxxxxxxxxxx
Subject: Re: reg: trace files

 

Take a look at this blog, it must help you and modify accordingly to
your needs.

 

http://blog.integrii.net/?p=33

 

 

Thanks,

Ananth

 

On Mon, Dec 15, 2008 at 2:02 PM, NEELI-SC, Mamta
<Mamta.NEELI@xxxxxxxxxxxxxx> wrote:

Hello Everybody,

 

How to remove the trace files that are older than 30 days in windows
using a batch file?

 

Please let me know if any one has some idea on it.

 

Regards

Mamta

 

Other related posts: