Hi,

Thank you for your reply to my little problem.

This is my script so far
code:
  
If 1=Exist("C:\new\FIXServer.log")
Copy "C:\new\FIXServer.log" "C:\new\FIXServer@mdayno.@monthno.@year.log"
If @error
? "error occured: @error - @serror"
? "script will exit once you press a key"
Get $
Exit 1
EndIf
EndIf

The problem I now have is that I need to put a time stamp in the file name as well. The time stamp is required, because if the file is written twice (due to a restart of a service) I will loose a log that has already been archived.

All your help appreciated.