Think you got all code there, and working:

Code:

break on

IF Open(3,".\t.csv") = 0
$x = ReadLine(3)
WHILE @ERROR = 0
$Value = Split($x,",")
If UBound($Value) > 0
$computer = $Value[0]
$user = $Value[1]
?"computer=" + $computer + " user=" + $user
Endif
$x = ReadLine(3)
LOOP
$= Close (3)
ELSE
BEEP
? "Cannot open file, error code: [" + @ERROR + "] + " " "@SERROR""
ENDIF



-Shawn