Pooter8D
June 29th, 2004, 10:14 AM
what is the easiest way using basic asp to find out what directory the file is calling from. I know there is the getfilename method but you specify what the directory is from the start.. i need this to work dynamically as i am creating folders dynamically where files that are named after the folders are being created dynamically as well inside those folders and i want to access the file.
ex.. "..\Folder1\Folder1.asp"
i need to access Folder1.asp from lets say upload.asp.. i'm thinking i can do this by passing variables over multiple pages.. about 3 or 4 .. but thats just annoying.. is there an easy way to do this?
ex.. "..\Folder1\Folder1.asp"
i need to access Folder1.asp from lets say upload.asp.. i'm thinking i can do this by passing variables over multiple pages.. about 3 or 4 .. but thats just annoying.. is there an easy way to do this?