Richard, I wrote this particular code as per example to illustrate what I ment \:\) I know about the ReadAll, thanks though \:\)

Drill Sergeant: Your second suggestion works perfect \:\)
I've implented it like this:
 Code:
Dim $fso, $txt, $item, $Array
$fso = CreateObject("Scripting.FileSystemObject")
$Array = CreateObject("System.Collections.ArrayList")
$txt = $fso.OpenTextFile("c:\boot.ini",Not 0)

While Not $txt.AtEndOfStream
  $Array.Add($txt.ReadLine)
Loop

$txt.Close
For Each $item in $Array
  ? "Line: " + $item
Next


I still find it weird that there is no builtin kix way to Add stuff to an array. Besides, this way works fine however it does require the dotnet framework.