This snippet read the content of file and write to screen .
Code:
<% Set objfolderStream= CreateObject("Scripting.FileSystemObject") Set objfileStream= objfolderStream.OpenTextFile("c:\codemiles.txt") allContent= objfileStream.ReadAll objfileStream.close // clear objects Set objfileStream=nothing Set objfolderStream=nothing
response.write(allContent) %>
_________________ M. S. Rakha, Ph.D. Queen's University Canada