boxhead — 2007-04-12T09:53:06-04:00 — #1
I want to make the script reusable by pages in different folders. The 'myfolder' is in the root of my site. How can I target this from any other folder such as the vbscript server.mappath('myfolder/myfile.asp')?
kravvitz — 2007-04-12T12:23:37-04:00 — #2
In a file path or URL "./" means the current directory, "../" means the current directory's parent directory, and a relative path or URL starting with just a slash ("/") refers to web root (or the root file system directory for non-URL paths). You can do something like "../../example.ext" and "../../../example.ext".
So try this:
boxhead — 2007-04-13T06:32:50-04:00 — #3
now why didn't i think of that?!