Snippets
Here is your code snippet
Open and display a text fileThis opens a file and displays the contents
<%
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("c:\Mydir\myfile.txt")
strText = objFile.ReadAll
objFile.close
Set objFile=nothing
Set objFSO=nothing
response.write(strText)
%>