
Problem in using file object, please help
(1) Set filObject = fsoObject.GetFile(Server.MapPath("index.asp"))
or
(2) Set filObject = fsoObject.GetFile(Request.ServerVariables("PATH_TRANSLATED"))
(1) is more generic...
--
Michael Harris
At the script:
Set filObject = fsoObject.GetFile("index.asp")
the server tell me that it cannot find the file, but in fact it is not
possible as it is the executing file, how can I point to the current
script file as a file object? as I want to get the name of current
directory.