Steve I don't know if you can build on this, but the following command will create the files DUMMY1.TXT to DUMMY100.TXT in the current directory (or append to them if they already exist) and add the date and time as two lines to the end.
FOR /L %a IN (1,1,100) DO DATE /T >> DUMMY%a.TXT & TIME /T >> DUMMY%a.TXT Regards Neil Take a tour of a virtual waste water treatment works at http://www.wastewatertour.com The information in this e-mail is confidential and may also be legally privileged. The contents are intended for recipient only and are subject to the legal notice available at http://www.keldagroup.com/email.htm Yorkshire Water Services Limited Registered Office Western House Halifax Road Bradford BD6 2SZ Registered in England and Wales No 2366682