I want to read in a text file that will contain information that I will use to create another file, such as tab locations and variable names. Is there a way to do this?
Code:
Set FS = CreateObject("Scripting.FileSystemObject")
Const forreading = 1 ' Read only access
startrec = " 1 "
endrec = " 3 "
cpu = " 2 "
Set handle1 = fs.OpenTextFile("c:\test.txt", forreading)
Do Until handle1.AtEndOfStream
rec = handle1.ReadLine
Loop
WScript.echo startrec & rec & endrec
[\code]
[code]
"OPTI 620/3.4" & Chr(9) & cpu & Chr(9) & "1PC PENT 4 "
[\code]