matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: to see a file line by line and thus to exploit its values
Searching the internet is a great start...
js code: // Declare FSO
var fso = new ActiveXObject("Scripting.FileSystemObject");
// Open the file for reading.
f = fso.OpenTextFile("c:\\testfile.txt", 0x1 /* ForReading */);
// Read from the file and display the results.
while (!f.AtEndOfStream) {
Debug.Trace (f.ReadLine());
}
f.Close();
|
|