>You don't need to use the FileSystemObject to do this. There is a member of the ServerVariables collection in the Request object that stores the complete path and file name of the page you are on. Using this and a some string manipulation you can come up with the directory name of the current page being viewed:
Thanks
As I already have to use the FileSystemObject() in that page, it only takes me one additional line to extract the current directory. So, I'll keep that approach. Otherwise, I'd take this one.