Excuse me, the windows command is "copy", not "cp", so: 1. Backup the current log: copy the_name_of_your_logfile.log the_name_of_your_logfile.log.old 2. Truncate it: echo "Whatever you want" > the_name_of_your_logfile.log HTH Dimitre On 6/20/05, Radoulov, Dimitre <cichomitiko@xxxxxxxxx> wrote: > You can try: > > cp the_name_of_your_logfile.log > the_name_of_your_logfile.log.old > echo "Resetting the log ..." > the_name_of_your_logfile.log > > > > HTH > > Dimitre > > > ----- Original Message ----- > From: Onkar N Tiwary > To: oracle-l@xxxxxxxxxxxxx > Sent: Monday, June 20, 2005 11:33 AM > Subject: truncating log file > > Hi all, > > Few days ago I had seen one mail containing the method of truncating a log > file and setting its size to say few megs without opening it on windows 2000 > but now I don remember the command. If anyone can either forward that mail > and pass me the command , will be obliged. > > -- > Thanks & Regards, > T. Onkar Nath > Ph : +91-9826728111(Cell) > to_onkar@xxxxxxxxx > onkarnath.tiwary@xxxxxxxxx > -- //www.freelists.org/webpage/oracle-l