thats exactly what i did (from a network drive) - now i know that this doesn't work.
but on the local drive of the server it also didn't work

i did what you said. a tiny mistake in the script and now im getting a result.
$ is the name with the cut of letters (lines 1 and 2 are working), but the variable is not set.
the output from line 4 works.
now, the syntax of the script is:
"
$=@WKSTA
$=SubSTR($,1,2)+SubSTR($,4,1)+SubSTR($,6)
Set "term="+$
"the Term should be: "$
?
get $
@kix
"

is the command Set "term="+$ correct?