Rocco,
If you use the SAME three positions for a location name, and you are using Win2k (probably XP as well), try this sample:
Code:
 @echo off
set testvar=tmpPCName1
::set testvar=sjoPCName1
::set testvar=svlPCName1
call :%testvar:~0,3%
goto :eof
:tmp
echo/In TMP
goto :eof
:sjo
echo/In SJO
goto :eof
:svl
echo/In SVL
goto :eof



Un comment (the ::'s) the various set lines to see the effect.

%testvar:~0,3% strips out the first three characters of the variable testvar. Warning, I have not used this and tested it only briefly, but it should work. Translating it to KiX would be the hard part for me

How do I get some blank lines inside the CODE tags?
_________________________
Jim
--------------------