You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
409 B
Plaintext

<%
'variables for our objects
Dim objFSO , myFile
'create instances of our objects
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set myFile = objFSO.GetFile(Server.MapPath("sample.txt"))
'display information about file
Response.Write "The file was last modified on " & myFile.DateLastModified
'set object variables to Nothing
Set myFile = Nothing
Set objFSO = Nothing
%>