Sorry, I removed too much code when I attempted to give you something more toward your goal.
code:
:Loop1
$KeyName = ENUMKEY( "$HKLM\Class\NetTrans\" , $Index )
$RC = @ERROR
$Index = $Index + 1
If $RC = 0
If ...
Do Something ...
Endif
goto Loop1
Endif



[ 14 May 2002, 15:06: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/