Hey glenn I keep getting this error..man do I feel stupid here..

 Code:

C:\KIX>kix32 RFSPINI.KIX

ERROR : expected ')'!
Script: C:\KIX\RFSPINI.KIX
Line  : 11

C:\KIX>PAUSE
Press any key to continue . . .


and my code is now this?

 Code:
for each $Element in $PClist

	If ReadProfileString('C:\KIX\fsp.ini', 'Ubs', 'pcAlias') <> ''
	$Element = LCase($Element)
  	$Rc = WriteReadProfileString('fsp.ini', 'Ubs', 'pcAlias', $Element )
	EndIf

next


do you mean take out the if/endif statement and the read function? and just leave the write function?
_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin