Friedrich - thanks for the new compiler variable.
However, I am using it in a copy command. As this contains the full pathname
it is failing as the script generates something like:
Copy .... to C:\Test\Development\Release\v1.1\c:\text\keep\v1.1 \whatever.sb6
It does not like the c:\.. part I am assuming. What I have NOT checked is
that the fact that the file is still open could cause an issue.
What I would ideally like is the compiler variable to just contain the
script name and not the full pathname.
Many thanks
John Fligg