These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Link directly to subfolder

I've seen some other threads asking this and I've tried everything I've read, but it just isn't working.

I've been able to get the first level folder using what I saw:

Set FSO = server.CreateObject ("Scripting.FileSystemObject")
Set re = new regexp

If Session("MM_Username") = "admin" Then
wexRootPath = RealizePath(wexRoot)

Else
wexRootPath = RealizePath(wexRoot) & Session("MM_Username")

End If

I modified it so that if you are the admin user you'll get to see the whole filemanager and all of the other user's folders in there. 

But, how can I make a link to a subfolder within a user's folder  like:

filemanager/user/subfolder  ???

(my root is /filemanager)

I tried putting folder=subfolder in the string:

<a href = filemanager/default.asp?folder=subfolder

It still shows the first level of the user. Since they've already logged in it uses the session variable to get that far.

I'm guessing that I have to make a new variable for the subfolder but I don't know how or where to do it.

Any advise would be appreciated.

MJ 11/6/2004 6:56 PM