Reading text file in ASP 3.0
Posted on 2006-10-19
I did some research and discovered that WScript comes from something called Windows Scripting Host. I installed version 5.6 of WSH but it made no difference.
This is the example from the book...
var objFSO = WScript.CreateObject("Scripting.FileSystemObject");
var objFile = objFSO.GetFile("c:\test.txt");
WScript.Echo(objFile.Name + "contains" + iCount + "line(s).");
Thanks in advance,