Hi all Hope someone can help. need to write a script/batch file in windows that deletes files older than X day. second one. for RMAN i call a batch file that then calls RMAN. this batch file includes the msglog=.... as a logfile destination. i want to append to the log file current/generated date. can anyone help. ------------------------------------------------ George george@xxxxxxxxxxxx You Have The Obligation to Inform One Honestly of the risk, And As a Person You Are Committed to Educate Yourself to the Total Risk In Any Activity! Once Informed & Totally Aware of the Risk, Every Fool Has the Right to Kill or Injure Themselves as They See Fit! ------------------------------------------- For super low premiums, click here http://www.webmail.co.za/dd.pwm -- //www.freelists.org/webpage/oracle-l