Getting full path from server virtual path Often you don't have the full path to your Access database file or regular text file.

All you might know is that you have uploaded a file called test.txt into a /textfiles/ subdirectory at you host. To open that file you will need to know its exact physical location ( like c:\www\textfiles\test.txt ). It can be done with this function:
        Function String_GetFullPath( strVirtualPath )
        String_GetFullPath = Server.MapPath( strVirtualPath )
        String_GetFullPath = Replace(String_GetFullPath,"/","\")
        End Function
Use it like this:
        Dim sFullPath
        sFullPath = String_GetFullPath("/textfiles/test.txt" )
        File_OpenExistingFile ( sFullPath...
Information and tips