How odd. After some further testing last night, I found that the issue only arises when the script is run from zorro. It does not ocur when the script is called from the command line.

Inserting
Code:
string smbl = strx(Asset, "/", "");



At the top of the for loop stops the aforementioned behaviour when it is run from zorro.

Regardless, I have some more testing to do today but the scripts are pretty much ready to go. Should I post them in your thread or start a new one?

Cheers,
BobbyT

PS: good catch on the directory slashes. I didn't even check. They were there when I put the code in the reply box smirk

Last edited by BobbyT; 07/09/17 21:00.