Given the current suspension of development work and the problem with running concurrent Toucan jobs, I've amalgamated a lot of jobs into scripts.
These currently just call sync & backup jobs and solve a few of my scheduling issues which have been leading to Toucan hanging.
I'm trying now to add a simple parameter
working = "mydir"
or
working = [[mydir]]
both simply give "5 unexpected symbol near ','"
Also expand( [[@drive@]]) gives the same error
Does anyone have an example of a working script I can follow?
The correct format for variable expansion is
t=expand([[@drive@]])
The error message was nothing to do with this line, but caused by an error in the following one, where I had something like:
move (t ..[[PortableApps\WinSCPPortable\Data\settings\winscp.log]] ), (t ..[[Logs\WinscpFTP.log]])
Two sets of parentheses rather than one as in:
move (t ..[[PortableApps\WinSCPPortable\Data\settings\winscp.log]], t ..[[Logs\WinscpFTP.log]])
Now the script works.