#135688 - 2005-03-16 05:38 PM
Re: Shorten PC-Name and set to variable
|
bene
Fresh Scripter
Registered: 2005-03-16
Posts: 13
Loc: Germany
|
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?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1662 anonymous users online.
|
|
|