just changed my line to:
Set objTextFile = objFSO.OpenTextFile(Server.MapPath("/apian/txt/home.txt"))
and now all is hunky dory.
many thanks out there,
jake
On Friday, November 1, 2002, at 11:30 am, Remie Bolte wrote:
Hi
the Server.Mappath provides the functionality to return the Root folder with
specified extra information (url encoded).
so asume my rootfolder is "c:\temp"
and my file is in the folder "/content/myfile.txt"
you need to call the server.mappath("/content/myfile.txt")
to get the following path: "c:\temp\content\myfile.txt"
so the server.mappath takes a url format string from the root and returns a
windows path with the root included. I hope this all makes sence, since i
don't know how to explain it correct in english.
regards
remie bolte
--- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
