' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Set fso = CreateObject("Scripting.FileSystemObject")
filespec = "s.csv"
Set f = fso.OpenTextFile(filespec,1)
Do While Not f.AtEndOfStream
   line = f.ReadLine
   discount = split(line, ";")
   WScript.Echo discount(3) + " - " + discount(5) + " - " + discount(6)
Loop
f.Close
Set f = Nothing
Set fso = Nothing
