have a list file?
well there are more than just one way. but...
one is to call before that loop
shell "%comspec% /c echo. > %temp%\this.txt"
and then do
shell "%comspec% /c echo $name >> %temp%\this.txt"

there you will have one machine name in each line. but what will you want to do with those names?
like, you can directly using my last code, in the middle of that loop, work with those names.
if you have some specific stuff in your mind, please be more specific. otherwise I ask you to refer to kix doc that came with the package.
like reading and writing with files is simple as calling to readline() and writeline()

cheers,

_________________________
!

download KiXnet