Answers immediately below your question
>> I assume when you designed the script and ran it was okay, correct?
When I ran the automated script with the automation.log going to the citrix tdp server, it runs fine. The log gets created on the tdp server.
If I modify the script to output the log to my citrix client, it creates the log, inserts the first line (below) and it fails to write any more to the log and shows the error attached to my original post. The error window comes up everytime it tries to write to the log (as you can imagine, there are 20 plus lines it tries to write so I have to click OK on the error window that many times to continue on.
-- 3/12/2018 1:06:17 PM: Sunday_Run_1.log: Setting up environment
>> And that this log file issue occurs when you schedule it? Is this correct?
No scheduling attempted at this time.