You can use the object "Scripting.FileSystemObject"
With this object you can open the file , read a line , etc
Quote:
Originally posted by liorlank
I need the code in ASP that get a file name (path)
<%
path="test.txt"
%>
search the line in the file that begin with the word "word1"
and delete this line from the file.
How to do it???
|