I am using the FileSystemObject in an ASP page to check if a file exsts using the FileExists method. The problem is that I don't want to hardcode the file path and the FSO doesn't recognize files and subfolders like the VB script in the ASP page does. How do I get the full file path for a specified file or subdirectory?
The ASP Server object has a MapPath method that takes a virtual or relative path and returns the full physical path. Unfortunately it can't return parent directories using the ../ syntax.