Curt_C
Mon Apr 12 13:48:00 CDT 2004
FSO, File Lister
http://www.darkfalz.com/1069/
--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"David" <davidd@sunbeltmedical.com> wrote in message
news:ez%23yb2LIEHA.3356@TK2MSFTNGP11.phx.gbl...
> Ray, I posted the asp source code - here it is again, I would like a
simple
> text listing of the dir names as links, that when you click on a link the
> list of dir is replaced with a page that displays all docs in that dir. as
> links - click on a doc link and the doc opens. I don't need to open
> explorer.exe
>
>
> <%@ Language=VBScript %>
> <HTML>
> <HEAD>
> </HEAD>
> <BODY>
>
> <table border="0" width=100%>
> <tr bgcolor="#8080C0">
> <td> Project List</td>
> </tr>
> </table>
>
> <%
> Dim fso
> Dim Rootfolder
> Dim SubFolder
>
> set fso = Server.CreateObject("Scripting.FileSystemObject")
> Set RootFolder = fso.GetFolder ("S:\SMC\Projects")
> %>
> <table border="0" width="100%">
> <%
> for each SubFolder in RootFolder.SubFolders
> %>
> <tr><td><a
> href="S:\SMC\<%=SubFolder.Name%>"></a><%=SubFolder.Name%></td></tr>
> <%
> Next
> %>
> </table>
> </BODY>
> </html>
>
>
>
> "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
> message news:ONilCuLIEHA.2236@TK2MSFTNGP10.phx.gbl...
> > What does the HTML SOURCE look like? From your orginal post, it sounded
> as
> > though you just wanted to link to file:// links that would open
> explorer.exe
> > with at the path clicked on. Maybe what you're looking for is something
> > like this. ?
> >
> >
http://www.aspfaq.com/show.asp?id=2311
> >
> > Ray at work
> >
> > "David" <davidd@sunbeltmedical.com> wrote in message
> > news:eIkBOqLIEHA.2236@TK2MSFTNGP10.phx.gbl...
> > > Win 2000 SBS
> > > Office XP - on all wks.
> > > Everyone has a "S" Drive
> > >
> > > *** page should look like ***
> > >
> > > Directory 1(link)
> > > Directory 2(link)
> > > Directory 3(link)
> > > Directory 4(link)
> > >
> > >
> > > click on a dir and this will list all docs in that folder...
> > >
> > >
> > > David
> > >
> > >
> > > "Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
> > > message news:uTYx46KIEHA.2876@TK2MSFTNGP09.phx.gbl...
> > > > Here are my thoughts, questions, and suggestions:
> > > >
> > > > What does your resultant HTML look like?
> > > >
> > > > Will everyone have an S drive? Perhaps you should use UNC paths.
> > > >
> > > > You don't have any <td>s in your table.
> > > >
> > > > Ray at work
> >
> >
>
>