On 12-01-2021 13:50, Simple Simon wrote:
> Brilliant - many thanks - works a treat - I was almost there!!
It won't matter here, I guess, and you needed it for debugging, but
normally never output to the console from a background script. So
perhaps remove the echos now that it works.
Slightly more importantly, it's good practice to put variables in quotes
when testing them (the part between brackets) because you never know
what may be inside. If there's a space, or the variable is empty, your
script will break.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|