Results 1 to 1 of 1
Thread: Relative Paths
2005-06-03, 13:58 #1
- Join Date
- Mar 2002
- Western NY, USA
- Thanked 0 Times in 0 Posts
We are attempting to move from IIS on NT to IIS 6 on Server 2003 for an intranet. I have a CGI Script which is not working. On NT, I traversed the directory (in code) via ../../myfile.txt. On NT, if I return the contents of the working directory, it is the "bin" folder. On 2003, if I return the contents of the working directory, it is the drive root.
The code used to return the current dir
myname = Dir("./*.*", vbDirectory) ' Retrieve the first entry.
Do While myname <> "" ' Start the loop.
' Ignore the current directory and the encompassing directory.
If myname <> "." And myname <> ".." Then
sDebugInfo = sDebugInfo & myname & " "
myname = Dir ' Get next entry.
What did I miss? I set up IIS on NT in 2000, so it has been a while.