Report comment

Thanks Anders;
In my example, I was writing to FileMaker Server's 'Scripts' folder. Of course, this was located within 'C:\Program Files...'. On Windows Server 2003, this was not a problem writing to, but I could see how it could potentially be a problem on Windows Server 2008 with default settings. In order to write a file within the 'Program Files' folder, you need to provide administrative permission. I would recommend circumventing this by simply using an intermediary .bat file that calls the FileMaker generated .bat file which was written to a different location.