http://www.aspfacil.com/articulos/fso.asp
Código PHP:
<%
Dim FSO, oCarpeta, colFicheros, fichero, oFichero
Dim sContenido
set FSO = Server.CreateObject("Scripting.FileSystemObject")
set oCarpeta = FSO.GetFolder("C:\Documentos")
set colFicheros = oCarpeta.Files
'Recorremos la colección de ficheros (objetos File)
for each fichero in colFicheros
if fichero.Name="pruebas.txt" then
'Abro el fichero para lectura (ForReading)
set oFichero = fichero.OpenAsTextStream(1)
'Leo todo el fichero a una variable
sContenido = oFichero.ReadAll
'Cierro el fichero
oFichero.Close
set oFichero = nothing
end if
next fichero
set colFicheros = nothing
set oCarpeta = nothing
set FSO = nothing
%>
Un saludo