Slt
je travaille sous XP, mais ça ne devrait pas poser de problème
dim FSO: set FSO=CreateObject("Scripting.FileSystemObject")
today=Cstr(day(date))
tomonth=Cstr(month(date))
toyear=Cstr(year(date))
aujourdhui=today+"_"+tomonth+"_"+toyear
newlog="toto"+"_"+aujourdhui+".log"
msgbox newlog
set totolog=FSO.opentextfile("toto.log",1)
set totologtoday=FSO.opentextfile(newlog,8,true)
do while not totolog.atendofstream
theline = totolog.readline
totologtoday.writeline(theline)
loop
totolog.close
totologtoday.close
msgbox "copie de toto.log en toto" & aujourdhui & ".log faite.",64,"~= C3 =~"
une copie par jour...
:o)