Actually I hear things are rather cold in Windsor. I am now a Torontonian now!

here is the script
---------------------------------------

shell ("dgtime > lastlog.txt")
shell ("xcopy /s /e /h /k /c /v d:\data\*.* \\server\backups >lastlog.txt")

---------------------------------------
the program dgtime just outputs the time
these lines work on a command line no problems.

If I watch the script it outputs the time to the screen not to the file.

BTW I am using 2000 server to run this script in scheduler.