1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Const filePath = "D:\List.xml" Dim fso set fso = server.createObject("Scripting.FileSystemObject") if fso.FileExists(filePath) then set textStream = fso.OpenTextFile(filePath, 1, false) Dim contents contents = textStream.ReadAll Response.write contents textStream.Close set textStream = nothing else Response.write "Error" end if set fso = nothing |